joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4371c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x218], eax
mov esi, 0x80004005
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x21c], eax
or edi, 0xffffffff
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41058f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x410578
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x41058f
push esi
push 0x4be
push 0x42b4f8
call fcn.00410a50
jmp 0x41065c
push ebx
xor ebx, ebx
cmp edi, 0xffffffff
jne 0x410624
push dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push ebx
push dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push str._s_s_05d._s
push eax
call fcn.0040fe60
mov esi, eax
add esp, 0x18
test esi, esi
js 0x41065b
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410617
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x410607
movzx esi, si
or esi, 0x80070000
cmp esi, 0x80070050
jne 0x410613
xor esi, esi
jmp 0x410617
test esi, esi
js 0x41065b
inc ebx
cmp ebx, 0x3e8
jl 0x410592
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x410633
mov dword [eax], edi
or edi, 0xffffffff
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x41064f
mov eax, dword [ebp - 0x210]
mov dword [ecx], eax
mov dword [ebp - 0x210], 0
cmp edi, 0xffffffff
je 0x41065b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x41066c
push eax
call fcn.00410040
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041154d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x410680
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, 1
test edi, edi
cmovne ebx, eax
cmp dword [ebp + 0x14], esi
je 0x41069f
or ebx, 2
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x410782
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test edi, edi
jne 0x4106db
cmp esi, 0x50
je 0x4106cd
cmp esi, 0xb7
jne 0x4106db
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
cmp esi, 3
jne 0x410775
mov edx, dword [ebp + 0xc]
xor edi, edi
mov eax, edx
movzx ecx, word [edx]
test cx, cx
je 0x410767
cmp cx, 0x5c
movzx ecx, word [eax + 2]
cmove edi, eax
add eax, 2
test cx, cx
jne 0x4106f3
test edi, edi
je 0x410767
xor eax, eax
push eax
push edx
mov word [edi], ax
call fcn.00410130
mov esi, eax
mov eax, 0x5c
mov word [edi], ax
test esi, esi
js 0x410782
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x410782
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41074c
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x410782
push esi
push 0x42e
push 0x42b4f8
call fcn.00410a50
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
mov esi, 0x80070003
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
test esi, esi
jle 0x410782
movzx esi, si
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x425cd2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4371c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004173e5
mov dword [ebp - 0x14], eax
cmp dword [0x439b9c], esi
jne 0x425dc5
push 0x800
push esi
push 0x431db8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x425d52
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x425ea5
push esi
push esi
push 0x431db8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x425ea5
push 0x431dd0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425ea5
push eax
call ebx
push 0x431ddc
push edi
mov dword [0x439b9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x431dec
push edi
mov dword [0x439ba0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x431e00
push edi
mov dword [0x439ba4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x439bac], eax
test eax, eax
je 0x425dc2
push 0x431e1c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x439ba8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x425dea
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x425ddd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x425dff
push 4
pop eax
jmp 0x425ea7
cmp dword [ebp - 0x14], esi
je 0x425dff
push dword [0x439b9c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x425de4
mov eax, dword [0x439ba8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x425e5d
cmp dword [0x439bac], edi
je 0x425e5d
push eax
call ebx
push dword [0x439bac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x425e5d
test eax, eax
je 0x425e5d
call ecx
test eax, eax
je 0x425e52
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x425e52
test byte [ebp - 8], 1
jne 0x425e5d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x425e8d
mov eax, dword [0x439ba0]
cmp eax, edi
je 0x425e8a
push eax
call ebx
test eax, eax
je 0x425e8a
call eax
mov esi, eax
test esi, esi
je 0x425e8a
mov eax, dword [0x439ba4]
cmp eax, edi
je 0x425e8a
push eax
call ebx
test eax, eax
je 0x425e8a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x439b9c]
call ebx
test eax, eax
je 0x425ea5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x425ea7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041154d
mov esp, ebp
pop ebp
ret
Function at 0x100572b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1011584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x40002767
call fcn.0100e4fd
xor ebx, ebx
pop ecx
mov dword [ebp - 0x4c], ebx
mov esi, 0x1001f50
mov eax, dword [ebp - 0x4c]
movzx eax, byte [edi + eax]
push eax
push esi
push 0x21
pop eax
sub eax, ebx
push eax
lea eax, [ebp + ebx*2 - 0x48]
push eax
call fcn.0100f49e
add esp, 0x10
add ebx, eax
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0x10
jl 0x1005758
lea eax, [ebp - 0x48]
push eax
call fcn.0100e3e7
mov ebx, 0x1001928
push ebx
call fcn.0100e3e7
push 0x40002768
call fcn.0100e4fd
and dword [ebp - 0x50], 0
and dword [ebp - 0x4c], 0
pop ecx
mov eax, dword [ebp - 0x4c]
movzx eax, byte [edi + eax + 0x10]
push eax
mov eax, dword [ebp - 0x50]
push esi
push 0x21
pop ecx
sub ecx, eax
push ecx
lea eax, [ebp + eax*2 - 0x48]
push eax
call fcn.0100f49e
add dword [ebp - 0x50], eax
add esp, 0x10
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0x10
jl 0x10057a6
lea eax, [ebp - 0x48]
push eax
call fcn.0100e3e7
push ebx
call fcn.0100e3e7
push 0x40002769
call fcn.0100e4fd
and dword [ebp - 0x50], 0
and dword [ebp - 0x4c], 0
pop ecx
mov eax, dword [ebp - 0x4c]
movzx eax, byte [edi + eax + 0x20]
push eax
mov eax, dword [ebp - 0x50]
push esi
push 0x21
pop ecx
sub ecx, eax
push ecx
lea eax, [ebp + eax*2 - 0x48]
push eax
call fcn.0100f49e
add dword [ebp - 0x50], eax
add esp, 0x10
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0x10
jl 0x10057f4
lea eax, [ebp - 0x48]
push eax
call fcn.0100e3e7
push ebx
call fcn.0100e3e7
push 0x4000276a
call fcn.0100e4fd
xor ebx, ebx
pop ecx
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x4c]
movzx eax, byte [edi + eax + 0x30]
push eax
push esi
push 0x21
pop eax
sub eax, ebx
push eax
lea eax, [ebp + ebx*2 - 0x48]
push eax
call fcn.0100f49e
add esp, 0x10
add ebx, eax
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0x10
jl 0x100583f
lea eax, [ebp - 0x48]
push eax
call fcn.0100e3e7
push 0x1001928
call fcn.0100e3e7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100f411
leave
ret 4
Function at 0xfdd058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fdd1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfdd07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfdd06a
add dl, dl
jne 0xfdd089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfdd0dc
xor eax, eax
add dl, dl
jne 0xfdd096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfdd17d
add dl, dl
jne 0xfdd0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfdd0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfdd0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfdd0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfdd0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfdd075
mov eax, 1
add dl, dl
jne 0xfdd0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfdd0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfdd0e1
sub eax, ebx
mov ebx, 1
jne 0xfdd128
mov ecx, 1
add dl, dl
jne 0xfdd10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfdd119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfdd105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfdd075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfdd13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfdd14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfdd136
cmp eax, 0x7d00
jae 0xfdd16d
cmp eax, 0x500
jb 0xfdd168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfdd075
cmp eax, 0x7f
ja 0xfdd170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfdd075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfdd19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xfdd075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402a74
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004041cc
test esi, esi
jne 0x402aaa
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004042bc
jmp 0x402ac8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402988
mov edi, eax
test esi, esi
je 0x402ac8
cmp dword [ebx], 0
je 0x402ac8
dec esi
jmp 0x402ab1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403228
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4dd024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032a0
xor eax, eax
push ebp
push 0x403299
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 0x4032dc
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 0x4032a0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4dd024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4dd024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403fcc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e304c], 0
je 0x40402d
cmp word [0x4e3220], 0xd7b2
jne 0x403ff5
cmp dword [0x4e3228], 0
jbe 0x403ff5
mov eax, 0x4e321c
call dword [0x4e3238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4dd070
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 0x404054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4dd034], 0
jne 0x404049
push 0
push 0x4dd068
push 0x4dd070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404180
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.0040274c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e304d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404148
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4061a8
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 0x40620e
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.0040443c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402de0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4061f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406215
lea eax, [ebp - 0x10]
call fcn.004041cc
ret

Function at 0x40bbb4
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 0x40bbed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042bc
jmp 0x40bbf6
mov eax, ebx
mov edx, esi
call fcn.00404220
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bc00
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 0x40bc21
mov al, byte [esp]
jmp 0x40bc23
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c2a8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c120
mov eax, dword [0x4e26b0]
cmp byte [eax], 0
je 0x40c324
mov eax, dword [0x4e22c4]
call fcn.00402bf4
call fcn.004028b4
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.00409204
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 0x40c36c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c35a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e2228]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e3668]
call fcn.004056bc
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 0x40cc14
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 0x40ccea
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404264
lea eax, [ebp - 8]
call fcn.004046dc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040468c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ccd4
mov eax, ebx
call fcn.0040274c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cccd
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.0040468c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ccb7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ccfc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ccb7
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 0x40ccd4
mov eax, dword [ebp - 0x10]
call fcn.0040276c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ccf1
lea eax, [ebp - 8]
call fcn.004041cc
ret

Function at 0x40d2b4
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 0x40d318
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.0040443c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c14
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d31f
lea eax, [ebp - 0xc]
call fcn.004041cc
ret

Function at 0x422cdc
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x422d29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00422b1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422d41
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x422d48
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.00422b1c
dec esi
jne 0x422d6a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x423eac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e388c
cmp dword [edi], 0
jne 0x423f28
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e3888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4dd528
mov ecx, 2
call fcn.00402948
mov edx, 0x423e84
lea eax, [esi + 5]
call fcn.00423ea4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423ea4
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 0x423efd
mov dword [0x4e3888], 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 0x425584
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 0x42558a
ret

Function at 0x427ed0
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 0x427f21
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427f08
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427ef8
jmp 0x427f21
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 0x427f09
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432b30
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.0040467c
xor eax, eax
push ebp
push 0x432c5e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x432c31
xor eax, eax
push ebp
push 0x432c2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040448c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x432bff
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 0x432bee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040448c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040468c
mov edx, ebx
pop ecx
call fcn.00402948
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 0x432bf5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4e2134]
mov dl, 1
mov eax, dword [0x4077b0]
call fcn.0040c438
call fcn.00403b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432c65
lea eax, [ebp - 4]
call fcn.004041cc
ret