joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073580
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], ebx
test edi, edi
je 0x10073748
test eax, eax
je 0x10073748
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x20
jl 0x10073748
push ecx
push ebx
push eax
call fcn.10094be0
add esp, 0xc
push ebx
push 1
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x10073748
cmp edi, 0xffffffff
je 0x10073741
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.100390a0
add esp, 8
lea eax, [ebp - 0x78]
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10073741
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x74]
je 0x100736d7
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, eax
mov dword [ebp - 0x70], edx
test edx, edx
je 0x10073741
mov ecx, dword [ebp - 0x74]
xorps xmm0, xmm0
movq qword [ebp - 0x8c], xmm0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jg 0x100736d7
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x8c]
jl 0x10073670
cmp edi, esi
jae 0x100736d7
nop
sub esi, edi
sbb ecx, eax
js 0x10073685
jg 0x10073680
cmp esi, 0x400000
jb 0x10073685
mov esi, 0x400000
push esi
push edi
push eax
push 4
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x100736d7
push esi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.100390f0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x7c]
xor ebx, ebx
mov ecx, dword [ebp - 0x74]
add edi, 0x400000
adc eax, ebx
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jge 0x100736cb
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
jmp 0x10073670
jg 0x100736d7
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
cmp edi, esi
jb 0x10073670
lea eax, [ebp - 0x6c]
push eax
call fcn.10038dd0
mov edi, dword [ebp - 0x80]
add esp, 4
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x14]
push eax
push 0x1012f760
push 3
push edi
call fcn.1005cdb0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x100736f0
push dword [ebp + 0x10]
push dword [ebp - 0x80]
call fcn.100c7cf0
add esp, 8
mov esi, 1
test ebx, ebx
je 0x1007372d
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x1007373b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x84]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10067b98
mov esp, ebp
pop ebp
ret
Function at 0x10075656
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100ce219
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100cde19

Function at 0x100ce224
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100cdf9c

Function at 0x100d48d0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d4054

Function at 0x100d48db
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d4293

Function at 0x100dbf4a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x10163220]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100dbf8b
cmp byte [edx], 0xa
jne 0x100dbf8b
or byte [eax + edi + 0x28], 4
jmp 0x100dbf90
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x100dc081
mov al, byte [ebx]
cmp al, 0x1a
je 0x100dc062
cmp al, 0xd
je 0x100dbfb9
mov byte [esi], al
inc esi
inc ebx
jmp 0x100dc057
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x100dbfd9
cmp byte [eax], 0xa
jne 0x100dbfce
push 2
mov byte [esi], 0xa
pop eax
jmp 0x100dbfd4
xor eax, eax
mov byte [esi], 0xd
inc eax
add ebx, eax
inc esi
jmp 0x100dc057
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100dc050
cmp dword [ebp - 0x14], 0
je 0x100dc050
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10163220]
test byte [eax + edi + 0x28], 0x48
je 0x100dc027
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x100dc017
mov byte [esi], dl
jmp 0x100dc053
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10163220]
mov byte [eax + edi + 0x2a], dl
jmp 0x100dc053
cmp byte [ebp - 1], 0xa
jne 0x100dc039
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x100dc039
mov byte [esi], 0xa
jmp 0x100dbfd6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100ddc4b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100dc054
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 8]
jb 0x100dbfa2
jmp 0x100dc081
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10163220]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100dc07c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100dc081
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100dc08c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x10163220]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x100dc0d0
cmp word [edx], bx
jne 0x100dc0d0
or byte [edi + eax + 0x28], 4
jmp 0x100dc0d5
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x100dc229
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x100dc209
cmp ax, word [ebp - 0x10]
je 0x100dc10e
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x100dc1fe
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x100dc134
push 0xa
pop ecx
cmp word [eax], cx
jne 0x100dc124
push ecx
pop eax
push 4
jmp 0x100dc129
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x100dc1f8
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100dc1ef
cmp dword [ebp - 0x18], 0
je 0x100dc1ef
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x10163220]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x100dc1bb
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x100dc17f
mov word [esi], ax
jmp 0x100dc1b3
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x10163220]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x10163220]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x10163220]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x100dc1fe
cmp word [ebp - 4], ax
jne 0x100dc1d0
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x100dc1d0
mov word [esi], ax
add esi, 2
jmp 0x100dc1fe
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100ddc4b
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100dc1fb
jmp 0x100dc1f2
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x100dc0ee
jmp 0x100dc229
mov ecx, dword [ecx*4 + 0x10163220]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x100dc220
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x100dc229
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e3a3f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e390c
Function at 0x100e6220
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call fcn.100e6830
add esp, 8
test al, al
je 0x100e6245
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x100e6245
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x100e6830
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x100e7ce0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100e7d0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100e7d0b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x402e68
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402ec1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d04
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d04
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402eab
inc ebx
jmp 0x402e94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ec8
lea eax, [ebp - 8]
call fcn.00404c08
ret

Function at 0x402ed0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404c08
test esi, esi
jne 0x402f07
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404cf8
jmp 0x402f28
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d04
mov dword [esp], eax
test esi, esi
je 0x402f28
cmp dword [ebx], 0
je 0x402f28
dec esi
jmp 0x402f0f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403698
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x51b008], 0x8088405
inc edx
mov dword [ebx + 0x51b008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403c64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x51b024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403cfc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403cdc
xor eax, eax
push ebp
push 0x403cd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403d18
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403cdc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x51b024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x51b024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404a00
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x52104c], 0
je 0x404a61
cmp word [0x521220], 0xd7b2
jne 0x404a29
cmp dword [0x521228], 0
jbe 0x404a29
mov eax, 0x52121c
call dword [0x521238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x51b074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404a88
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x51b034], 0
jne 0x404a7d
push 0
push 0x51b06c
push 0x51b074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404bbc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402aa4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x52104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404b84
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406d2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406d92
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404e78
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004036b4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406d7c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d99
lea eax, [ebp - 0x10]
call fcn.00404c08
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004050c8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409c91
test al, 0x10
jne 0x409c95
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ca24
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ca5d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404cf8
jmp 0x40ca66
mov eax, ebx
mov edx, esi
call fcn.00404c5c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ca70
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ca91
mov al, byte [esp]
jmp 0x40ca93
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d128
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cf90
mov eax, dword [0x520778]
cmp byte [eax], 0
je 0x40d1a4
mov eax, dword [0x520390]
call fcn.0040338c
call fcn.00402c30
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409f90
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d1ec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d1da
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5202f0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x521668]
call fcn.00406158
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40da90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40db66
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404ca0
lea eax, [ebp - 8]
call fcn.00405118
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004050c8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40db50
mov eax, ebx
call fcn.00402aa4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40db49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004050c8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40db33
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40db78
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40db33
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db50
mov eax, dword [ebp - 0x10]
call fcn.00402ad4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db6d
lea eax, [ebp - 8]
call fcn.00404c08
ret

Function at 0x40e148
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e1ac
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404e78
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004097f4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e1b3
lea eax, [ebp - 0xc]
call fcn.00404c08
ret

Function at 0x4202d8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00420104
dec esi
jne 0x4202fa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42143c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x52188c
cmp dword [edi], 0
jne 0x4214b8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x521888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x51b4a0
mov ecx, 2
call fcn.00402cc4
mov edx, 0x421414
lea eax, [esi + 5]
call fcn.00421434
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421434
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42148d
mov dword [0x521888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x422ad4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x422ada
ret

Function at 0x4251f4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x425245
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42522c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42521c
jmp 0x425245
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42522d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e7bc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004050b8
xor eax, eax
push ebp
push 0x42e8ea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42e8bd
xor eax, eax
push ebp
push 0x42e8b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ec8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42e88b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42e87a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ec8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004050c8
mov edx, ebx
pop ecx
call fcn.00402cc4
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e881
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5201f8]
mov dl, 1
mov eax, dword [0x408304]
call fcn.0040d2ac
call fcn.00404598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e8f1
lea eax, [ebp - 4]
call fcn.00404c08
ret
Function at 0x42e8f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42eaa9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004052b8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42eac0
call fcn.00404f14
mov eax, ebx
call fcn.004209d0
mov edi, eax
dec edi
test edi, edi
jl 0x42e9b0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004209a4
mov edx, dword [0x43aa7c]
call fcn.00403f90
test al, al
je 0x42e9ac
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004209a4
lea edx, [ebp - 0x14]
call fcn.00446014
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004052b8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f88
inc esi
dec edi
jne 0x42e95e
mov al, byte [0x42eac4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42ead0
mov eax, dword [ebp - 0xc]
call fcn.0040e724
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404ca0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00446014
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42eac0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00446014
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42eac0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42eac0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42eadc
call fcn.0040a6b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eab0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404c2c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404c2c
lea eax, [ebp - 0x14]
call fcn.00404c08
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404c2c
ret