joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407504
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42c206
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x43c5a0]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov eax, dword [0x43c5a0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, ecx
push str.Enter_PluginManager
call fcn.00403d65
pop ecx
mov edi, 0x434b33
push edi
lea ecx, [esp + 0x28]
call fcn.004012b5
and dword [esp + 0xe0], 0
lea ecx, [esp + 0x24]
call fcn.004019c9
push 0x436bc0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x58]
call fcn.00401dcd
mov byte [esp + 0xe4], 1
mov edx, eax
lea ecx, [esp + 0x40]
mov dword [esp], 0x43da90
call fcn.00403b17
pop ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401acd
lea ecx, [esp + 0x3c]
call fcn.004012e4
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 0
call fcn.004012e4
push edi
lea ecx, [esp + 0x10]
call fcn.004012b5
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0xe4], 2
call fcn.00405cf7
cmp dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
push str.httpurl:_s
call fcn.00403c7f
pop ecx
pop ecx
push 0x43daa8
lea eax, [esp + 0x10]
push eax
push 0x43dac0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
call fcn.004066b7
mov byte [esp + 0xe0], 3
lea ecx, [esp + 0x6c]
call fcn.0040672a
add dword [esi + 0xfc], 0x78
cmp dword [esi + 0xfc], 0x15180
jl 0x407649
lea ecx, [esp + 0x6c]
call fcn.00406869
and dword [esi + 0xfc], 0
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40761d

Function at 0x407672
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x43c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
and dword [ebp - 0x408], 0
push edi
mov ebx, ecx
push 8
pop ecx
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebx + 4]
movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4076a9
lea edi, [ebp - 0x404]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4076b9
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x404]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4076d6
mov eax, dword [str.Status]
mov dword [ecx], eax
mov eax, dword [0x4378c8]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
xor esi, esi
push esi
push 0x20006
push esi
push 0x434b33
push esi
lea eax, [ebp - 0x404]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x407749
push 4
lea eax, [ebx + 0xfc]
push eax
push 4
push esi
push str.Current
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004124f9
leave
ret
Function at 0x4247f8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43c5a0]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00417c2f
mov dword [ebp - 0x14], eax
cmp dword [0x43ee88], edi
jne 0x4248e9
push 0x800
push edi
push 0x4335a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x424876
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4249c9
push 0x4335a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4249c9
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4249c9
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x43ee88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x43ee8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x43ee90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43ee98], eax
test eax, eax
je 0x4248e6
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43ee94], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42490e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x424901
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x424923
push 4
pop eax
jmp 0x4249cb
cmp dword [ebp - 0x14], edi
je 0x424923
push dword [0x43ee88]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x424908
mov eax, dword [0x43ee94]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x424981
cmp dword [0x43ee98], esi
je 0x424981
push eax
call ebx
push dword [0x43ee98]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x424981
test eax, eax
je 0x424981
call ecx
test eax, eax
je 0x424976
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 0x424976
test byte [ebp - 8], 1
jne 0x424981
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4249b1
mov eax, dword [0x43ee8c]
cmp eax, esi
je 0x4249ae
push eax
call ebx
test eax, eax
je 0x4249ae
call eax
mov edi, eax
test edi, edi
je 0x4249ae
mov eax, dword [0x43ee90]
cmp eax, esi
je 0x4249ae
push eax
call ebx
test eax, eax
je 0x4249ae
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x43ee88]
call ebx
test eax, eax
je 0x4249c9
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4249cb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004124f9
leave
ret
Function at 0x426bc8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041c363
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x426c00
xor eax, eax
jmp 0x426c2c
cmp esi, dword [ebp - 4]
je 0x426c29
cmp dword [ebp + 0xc], 0
je 0x426c29
push dword [edi + 0x9c]
call fcn.004267d6
push dword [edi + 0x9c]
mov esi, eax
call fcn.00417f64
pop ecx
pop ecx
cmp esi, eax
je 0x426bfc
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x403360
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.00405198
test esi, esi
jne 0x403396
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.00405288
jmp 0x4033b4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403264
mov edi, eax
test esi, esi
je 0x4033b4
cmp dword [ebx], 0
je 0x4033b4
dec esi
jmp 0x40339d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x404070
Capabilities:
Query or enumerate registry value

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

Function at 0x404f64
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e504c], 0
je 0x404fc5
cmp word [0x4e5220], 0xd7b2
jne 0x404f8d
cmp dword [0x4e5228], 0
jbe 0x404f8d
mov eax, 0x4e521c
call dword [0x4e5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x404fec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e1030], 0
jne 0x404fe1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40511c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4e1038], 0
je 0x405142
mov edx, esi
mov eax, ebx
call dword [0x4e1038]
jmp 0x405151
mov eax, 8
call fcn.00402f74
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4e504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4050e4
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x406cb4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406ee4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406d37
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406ee4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406d37
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406f00
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406dc0
xor eax, eax
push ebp
push 0x406db9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406af0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406d9e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406f20
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406d9e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406dc0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406eda
cmp byte [ebp - 0xd], 0
jne 0x406e07
cmp byte [ebp - 0x12], 0
je 0x406eda
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406e20
dec ebx
cmp byte [ebx], 0x2e
je 0x406e2f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406e1f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406eda
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406e6c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406eda
cmp byte [ebp - 0xd], 0
je 0x406eda
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406eda
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409814
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x409866
test eax, edx
je 0x409869
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409829
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40984f
add ecx, 4
js 0x40983f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40984c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x409875
test edx, edx
jne 0x40981c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00405628
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a6fa
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x40a71b
cmp ebx, 3
je 0x40a71b
cmp ebx, 0x7b
je 0x40a71b
mov eax, esi
call fcn.0040a69c
test al, al
jne 0x40a71f
xor eax, eax
jmp 0x40a721
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405628
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a73d
test al, 0x10
jne 0x40a741
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40a7f0
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405628
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x40a804
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405628
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40a826
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40df5c
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 0x40df95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405288
jmp 0x40df9e
mov eax, ebx
mov edx, esi
call fcn.004051ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40dfa8
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 0x40dfca
movzx eax, byte [esp]
jmp 0x40dfcc
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40e65c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e4d4
mov eax, dword [0x4e463c]
cmp byte [eax], 0
je 0x40e6d8
mov eax, dword [0x4e4288]
call fcn.004037f4
call fcn.004030d0
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.0040a9e4
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 0x40e720
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e70e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e420c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e77f8]
call fcn.00406a98
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 0x40f004
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40f0da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405230
lea eax, [ebp - 4]
call fcn.00405680
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405628
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40f0c4
mov eax, ebx
call fcn.00402f74
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f0bd
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 - 4]
call fcn.00405628
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f0a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f0ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f0a7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f0c4
mov eax, dword [ebp - 0x10]
call fcn.00402f90
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f0e1
lea eax, [ebp - 4]
call fcn.00405198
ret

Function at 0x427a98
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.004277a8
dec esi
jne 0x427aba
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x428c2c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e99f0
cmp dword [edi], 0
jne 0x428ca8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e99ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e1d68
mov ecx, 2
call fcn.00403164
mov edx, 0x428c04
lea eax, [esi + 5]
call fcn.00428c24
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00428c24
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 0x428c7d
mov dword [0x4e99ec], 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 0x42c538
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405628
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42c590
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e485c]
mov dl, 1
mov eax, dword [0x42c044]
call fcn.0040e840
call fcn.00404b2c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042c14c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42d720
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 0x42d726
ret
Function at 0x44c1d4
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.00405618
xor eax, eax
push ebp
push 0x44c309
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x44c2dc
xor edx, edx
push ebp
push 0x44c2d5
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x44c221
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44c2aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x44c299
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x44c260
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405628
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403164
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 0x44c2a0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4e414c]
mov dl, 1
mov eax, dword [0x4089a8]
call fcn.0040e804
call fcn.00404b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c310
lea eax, [ebp - 4]
call fcn.00405198
ret

Function at 0x44c318
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 - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44c4d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040591c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x44c4ec
call fcn.004054b0
mov eax, ebx
call fcn.004281ac
mov edi, eax
dec edi
test edi, edi
jl 0x44c3d0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00428180
mov edx, dword [0x43afdc]
call fcn.00404404
test al, al
je 0x44c3cc
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00428180
lea edx, [ebp - 0x14]
call fcn.0045c054
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040591c
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040552c
inc esi
dec edi
jne 0x44c37e
movzx eax, byte [0x44c4f0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x44c4fc
mov eax, dword [ebp - 8]
call fcn.0040fc00
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405230
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0045c054
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x44c4ec
mov dword [ebp - 0x5c], eax