joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498dbc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404b38
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x498e0b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404db0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a68e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405014
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4a690e
test byte [ebp - 0xc], 0x10
jne 0x4a6912
xor eax, eax
jmp 0x4a6914
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x4a6a74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405870
xor eax, eax
push ebp
push 0x4a6b0f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4a6aef
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [0x56b79c]
cmp dword [eax], 1
jne 0x4a6abf
mov eax, dword [ebp - 4]
call fcn.004967b0
mov byte [ebp - 5], al
jmp 0x4a6ae5
mov eax, dword [ebp - 4]
call fcn.004054b8
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4a6adc
test byte [ebp - 0xc], 0x10
je 0x4a6ae0
xor eax, eax
jmp 0x4a6ae2
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6af9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6b16
lea eax, [ebp - 4]
call fcn.00405280
ret

Function at 0x4aa1fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405014
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4aa25e
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
call fcn.004a9abc
mov edx, dword [ebp + 0xc]
mov byte [edx], al
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4aa268
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
dec al
je 0x4aa28c
dec al
je 0x4aa295
dec al
je 0x4aa29e
dec al
je 0x4aa2a7
jmp 0x4aa2b0
mov dword [ebp - 0x14], 1
jmp 0x4aa2b5
mov dword [ebp - 0x14], 2
jmp 0x4aa2b5
mov dword [ebp - 0x14], 4
jmp 0x4aa2b5
mov dword [ebp - 0x14], 3
jmp 0x4aa2b5
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405014
push eax
mov eax, dword [ebp - 4]
call fcn.004a9e8c
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete byte [ebp - 0xd]
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8

Function at 0x4aab7c
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x4aad1c
push 1
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00406c10
mov ecx, eax
mov edx, 0x4aad2c
mov eax, 0x56852c
call fcn.004c7c0c
test al, al
je 0x4aad0e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4aabd8
cmp byte [0x568e38], 0
je 0x4aabd8
push 0
push 0x16
mov edx, 0x4aad44
mov eax, 0xfffffffb
call fcn.004a63dc
push 0
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00406c10
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x4aac1a
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
jne 0x4aad0e
mov edx, 0x56855c
mov eax, dword [ebp - 8]
call fcn.004a7284
test al, al
je 0x4aad0e
cmp byte [0x568e38], 0
je 0x4aac58
push 0
push 6
mov edx, 0x4aad44
mov eax, 0xfffffffb
call fcn.004a63dc
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4aac6c
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00406c10
push 0x4aad1c
push 1
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00406c10
mov ecx, eax
mov edx, 0x4aad2c
mov eax, 0x56852c
call fcn.004c7c0c
test al, al
je 0x4aad0e
cmp byte [0x568e38], 0
je 0x4aacaf
push 0
push 7
mov edx, 0x4aad44
mov eax, 0xfffffffb
call fcn.004a63dc
push 0
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00406c10
push eax
push 0x56856c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x4aacf2
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
cmp byte [0x568e38], 0
je 0x4aad0e
push 0
push 8
mov edx, 0x4aad44
mov eax, 0xfffffffb
call fcn.004a63dc
pop ecx
pop ecx
pop ebp
ret
Function at 0x4ae544
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
xor eax, eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4ae785
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentProcessId
mov edx, eax
mov eax, 8
call fcn.0049de8c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4ae74f
push 0
push 0xa0a0a0
mov edx, 0x4ae798
mov eax, 0xfffffffb
call fcn.004a63dc
mov dword [ebp - 0x240], 0x224
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.0049deac
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
jmp 0x4ae73c
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x220]
mov ecx, pe_nt_image_headers32
call fcn.00404db0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x120]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.004a7044
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x120]
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4ae71d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4ae7a4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ae71d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4ae7c8
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov dword [ebp - 0x258], eax
mov byte [ebp - 0x254], 0
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
mov dword [ebp - 0x250], eax
mov byte [ebp - 0x24c], 0
lea edx, [ebp - 0x258]
mov ecx, 1
mov eax, 0x4ae7e4
call fcn.0040b73c
push dword [ebp - 0x248]
push 0x4ae7f8
lea eax, [ebp - 0x244]
mov edx, 3
call fcn.00404edc
mov eax, dword [ebp - 0x244]
call fcn.00405014
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ae71d
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
call fcn.00404e1c
mov edx, 0x14
sub edx, eax
lea ecx, [ebp - 0x25c]
mov al, 0x20
call fcn.00405204
push dword [ebp - 0x25c]
lea eax, [ebp - 0x260]
mov edx, dword [ebp - 0x10]
call fcn.00404d38
push dword [ebp - 0x260]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404edc
push 0
push 0xa0a0a0
mov edx, dword [ebp - 0x1c]
mov eax, 0xfffffffb
call fcn.004a63dc
mov eax, dword [ebp - 0xc]
call fcn.004a7068
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.0049decc
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
jne 0x4ae5d2
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae78c
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x248]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x1c]
call fcn.00404b38
ret
Function at 0x4b2f00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b38
mov eax, 0x105
call fcn.004a7044
mov dword [ebp - 8], eax
push 0x104
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x4b2f6f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404d38
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404e1c
test eax, eax
jle 0x4b2f6f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404e1c
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x4b2f6f
mov eax, dword [ebp - 4]
mov edx, 0x4b2f84
call fcn.00404e24
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004a7068
pop ecx
pop ecx
pop ebp
ret

Function at 0x4bcae8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bcbf5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x15], 0
jmp 0x4bcbd0
cmp dword [ebp - 0x14], 5
jne 0x4bcb35
mov byte [ebp - 0x15], 1
jmp 0x4bcbd0
inc dword [ebp - 0x14]
inc dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jne 0x4bcb5a
mov byte [ebp - 0x15], 1
jmp 0x4bcbd0
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0xc]
call fcn.00404d38
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, 0x1fe
call fcn.004a6e18
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4bcbb5
mov eax, dword [ebp - 0x1c]
call fcn.00403d2c
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404d38
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 0xc]
call fcn.00404d38
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004bc92c
mov byte [ebp - 0xd], 1
mov byte [ebp - 0x15], 1
jmp 0x4bcbd0
lea eax, [ebp - 0x2c]
mov edx, dword [ebp + 0xc]
call fcn.00404d38
mov edx, dword [ebp - 0x2c]
mov ecx, 0x4bcc10
mov eax, dword [ebp - 4]
call fcn.004bc92c
cmp byte [ebp - 0x15], 0
je 0x4bcb26
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcbfc
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404b5c
ret
Function at 0x4bcc14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bccf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x4bccd6
lea eax, [ebp - 0x18]
mov edx, dword [ebp + 0xc]
call fcn.00404d38
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov eax, 0x1ff
call fcn.004a6e18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4bccbb
mov eax, dword [ebp - 0x14]
call fcn.00403d2c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404d38
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0xc]
call fcn.00404d38
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004bc92c
mov byte [ebp - 0xd], 1
jmp 0x4bccd6
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0xc]
call fcn.00404d38
mov edx, dword [ebp - 0x24]
mov ecx, 0x4bcd0c
mov eax, dword [ebp - 4]
call fcn.004bc92c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bccf8
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404b5c
ret

Function at 0x4bd5d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405004
xor eax, eax
push ebp
push 0x4bd6a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404b38
mov eax, 0x105
call fcn.004a7044
mov dword [ebp - 0xc], eax
mov eax, 0x105
call fcn.004a7044
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x4bd67b
lea eax, [ebp - 0x44]
push eax
mov ecx, 9
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405074
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x3d]
call fcn.0040b060
mov eax, dword [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x3d]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4bd67b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d38
mov eax, dword [ebp - 0x10]
call fcn.004a7068
mov eax, dword [ebp - 0xc]
call fcn.004a7068
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd6b0
lea eax, [ebp - 0x44]
call fcn.00404b38
lea eax, [ebp - 4]
call fcn.00404b38
ret
Function at 0x4c0954
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd58
xor edx, edx
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c0a66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b38
mov dl, 1
mov eax, dword [0x4a61d8]
call fcn.00403cfc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x4c0a32
push pe_nt_image_headers32
lea eax, [ebp - 0x2a4]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x4c0a2d
lea eax, [ebp - 0x2a4]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c0a2d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4c0a0e
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x2a8]
call fcn.00404d38
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp dword [eax + edx*4], 0
jne 0x4c09e0
cmp dword [ebp - 0x14], 0
jne 0x4c0a2d
mov edx, 0x4c0a7c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call sub.wsock32.dll_WSACleanup
mov eax, dword [ebp - 0x10]
call fcn.004c04fc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00403d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0a6d
lea eax, [ebp - 0x2a8]
call fcn.00404b38
ret

Function at 0x4c7e60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405004
xor eax, eax
push ebp
push 0x4c7ed7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004c7d50
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x4c7ec1
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 4
je 0x4c7eb1
dec eax
je 0x4c7eba
jmp 0x4c7ec1
mov dword [ebp - 8], 1
jmp 0x4c7ec1
mov dword [ebp - 8], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7ede
lea eax, [ebp - 4]
call fcn.00404b38
ret
Function at 0x4cfa40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x1d], dl
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*8 + 0x344], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 7
jne 0x4cfa54
mov eax, dword [ebp - 4]
add eax, 0x340
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 2
mov eax, dword [ebp - 0xc]
mov edx, 0x4cfb58
call fcn.00404b8c
mov eax, dword [ebp - 0xc]
add eax, 0xc
call fcn.00404b38
mov eax, dword [ebp - 4]
add eax, 0x368
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
mov eax, dword [ebp - 0x10]
mov edx, 0x4cfb78
call fcn.00404b8c
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.00404b38
mov eax, dword [ebp - 4]
add eax, 0x3e0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x14]
mov edx, 0x4cfb90
call fcn.00404b8c
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
add eax, 0x408
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x18]
mov edx, 0x4cfba8
call fcn.00404b8c
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
add eax, 0x430
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x1c]
mov edx, 0x4cfbc4
call fcn.00404b8c
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d19f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405004
xor eax, eax
push ebp
push 0x4d1b7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404b38
cmp byte [ebp - 9], 0
je 0x4d1a41
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004cfbd8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4d1b59
mov eax, 0x105
call fcn.004a7044
mov dword [ebp - 0x10], eax
mov eax, 0x105
call fcn.004a7044
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x4d1afd
lea eax, [ebp - 0x48]
push eax
mov ecx, 9
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405074
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x41]
call fcn.0040b060
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x41]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov edx, dword [ebp - 0x10]
call fcn.004bcc14
test al, al
je 0x4d1ad2
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.00404d38
jmp 0x4d1afd
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x41]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov edx, dword [ebp - 0x10]
call fcn.004bcae8
test al, al
je 0x4d1afd
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.00404d38
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4d1b49
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
call fcn.00404d38
push dword [ebp - 0x4c]
push dword [ebp - 8]
lea eax, [ebp - 0x50]
call fcn.004b1fa8
push dword [ebp - 0x50]
push 0x4d1b94
mov eax, dword [ebp + 8]
mov edx, 4
call fcn.00404edc
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov ecx, dword [ebp - 8]
call fcn.004bc92c
mov eax, dword [ebp - 0x10]
call fcn.004a7068
mov eax, dword [ebp - 0x14]
call fcn.004a7068
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1b83
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404b5c
lea eax, [ebp - 8]
call fcn.00404b38
ret
Function at 0x4efde0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x4efe3a
push 0
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x4efe3a
call sub.user32.dll_EmptyClipboard
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 8]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
setne byte [ebp - 5]
call sub.user32.dll_CloseClipboard
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x528058
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00527d01
push eax
push esi
push dword [ebp + 8]
call fcn.00527cb6
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00527d01
push eax
push esi
push dword [ebp + 8]
call fcn.00527cb6
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00527d01
push eax
push esi
push dword [ebp + 8]
call fcn.00527cb6
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00527cf1
mov ah, 0xb
pushal
pop ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00527cf1
mov dl, 0xf7
str word [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid