joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c069
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x40c1b1
xor ecx, ecx
cmp word [eax], cx
je 0x40c1b1
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x40c0c2
cmp eax, 3
jne 0x40c0fc
cmp word [esp + 0xa], 0x3a
jne 0x40c0fc
cmp eax, 2
jne 0x40c0e0
lea eax, [esp + 8]
push 0x40f368
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x40c1b1
push 0xfffffffffffffffe
pop edi
jmp 0x40c1b1
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x40c111
cmp ax, bx
jne 0x40c11b
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x40c104
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x40c15a
test byte [esp + 0x21c], 0x10
je 0x40c141
push 0xfffffffffffffffe
pop edi
jmp 0x40c151
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40c1af
cmp word [esp + 0x10], bp
jne 0x40c168
cmp word [esp + 0x12], bp
je 0x40c187
cmp word [esp + 0x10], bx
jne 0x40c176
cmp word [esp + 0x12], bx
je 0x40c187
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x40c1af
cmp word [esp + 0x12], ax
jne 0x40c1af
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x40c19c
test al, 0x10
je 0x40c1af
jmp 0x40c1ac
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x40c1af
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x407ef8
nop
mov ecx, 0x5568092a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x21d25693
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402a7c
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.00404a54
test esi, esi
jne 0x402ab2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404b44
jmp 0x402ad0
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402990
mov edi, eax
test esi, esi
je 0x402ad0
cmp dword [ebx], 0
je 0x402ad0
dec esi
jmp 0x402ab9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4fa024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b48
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x403b28
xor eax, eax
push ebp
push 0x403b21
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 0x403b64
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403b28
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x4fa024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4fa024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404854
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4fe04c], 0
je 0x4048b5
cmp word [0x4fe220], 0xd7b2
jne 0x40487d
cmp dword [0x4fe228], 0
jbe 0x40487d
mov eax, 0x4fe21c
call dword [0x4fe238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4fa2a0
push 0xfffffffffffffff5
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 0x4048dc
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x4fa034], 0
jne 0x4048d1
push 0
push 0x4fa298
push 0x4fa2a0
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x404a08
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.00402754
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4fe04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4049d0
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread_1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4063bc
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_1
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4065ec
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x40643f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4065ec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x40643f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406608
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4064c8
xor eax, eax
push ebp
push 0x4064c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406204
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_1
test eax, eax
je 0x4064a6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406628
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4064a6
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 0x4064c8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
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_1
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4065e2
cmp byte [ebp - 0xd], 0
jne 0x40650f
cmp byte [ebp - 0x12], 0
je 0x4065e2
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406528
dec ebx
cmp byte [ebx], 0x2e
je 0x406537
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406527
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4065e2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406574
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_1
mov esi, eax
test esi, esi
jne 0x4065e2
cmp byte [ebp - 0xd], 0
je 0x4065e2
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_1
mov esi, eax
test esi, esi
jne 0x4065e2
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_1
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406cb4
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 0x406d1a
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_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404cc4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403168
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406d04
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d21
lea eax, [ebp - 0x10]
call fcn.00404a54
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f14
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409d91
test al, 0x10
jne 0x409d95
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x409f2c
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.00404f14
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x409f4e
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40a370
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40a5bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404aa8
cmp dword [0x4fa2f8], 1
jne 0x40a3bb
cmp dword [0x4fa2fc], 4
jle 0x40a3fa
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00404f14
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x40a59f
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x420]
mov edx, dword [edx]
call fcn.00404c4c
jmp 0x40a59f
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00402b48
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0x41
jb 0x40a59f
cmp byte [ebp - 0x15], 0x5a
ja 0x40a59f
mov eax, dword [ebp - 4]
call fcn.00404d14
cmp eax, 3
jl 0x40a59f
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x40a59f
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x40a59f
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x40a59f
xor edx, edx
push ebp
push 0x40a598
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0x640
mov eax, dword [ebp - 0xc]
call fcn.00402754
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x40a57a
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x40a4c9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.00402794
jmp 0x40a48d
test eax, eax
je 0x40a4dc
call fcn.004044b8
call fcn.004044b8
jmp 0x40a59f
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x40a48d
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x20]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x40a558
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.00402b48
cmp al, byte [ebp - 0x15]
jne 0x40a558
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d14
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00404f74
mov eax, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebx + 0x14]
call fcn.00404c4c
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
pop ecx
call fcn.00404d60
call fcn.004044b8
call fcn.004044b8
jmp 0x40a59f
inc edi
dec esi
jne 0x40a4e7
jmp 0x40a48d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a5c4
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00404a78
ret
Function at 0x40d428
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
test eax, eax
jle 0x40d461
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b44
jmp 0x40d46a
mov eax, ebx
mov edx, esi
call fcn.00404aa8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d474
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
test eax, eax
jle 0x40d495
mov al, byte [esp]
jmp 0x40d497
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e5c8
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 0x40e69e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404aec
lea eax, [ebp - 8]
call fcn.00404f64
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f14
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e688
mov eax, ebx
call fcn.00402754
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e681
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.00404f14
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e66b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e6b0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e66b
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 0x40e688
mov eax, dword [ebp - 0x10]
call fcn.00402774
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e6a5
lea eax, [ebp - 8]
call fcn.00404a54
ret

Function at 0x40ec58
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 0x40ecbc
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404cc4
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00409998
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ecc3
lea eax, [ebp - 0xc]
call fcn.00404a54
ret

Function at 0x4232d4
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.00423100
dec esi
jne 0x4232f6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424438
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4fe88c
cmp dword [edi], 0
jne 0x4244b4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4fe888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4fa778
mov ecx, 2
call fcn.00402950
mov edx, 0x424410
lea eax, [esi + 5]
call fcn.00424430
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424430
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 0x424489
mov dword [0x4fe888], 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 0x425aa0
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 0x425aa6
ret

Function at 0x428110
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 0x428161
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428148
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428138
jmp 0x428161
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 0x428149
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f744
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f04
mov eax, dword [ebp - 8]
call fcn.00404f04
xor eax, eax
push ebp
push 0x42f7b6
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.00404f14
push eax
mov eax, dword [ebp - 4]
call fcn.00404f14
push eax
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f7bd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a78
ret

Function at 0x432128
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404f04
xor eax, eax
push ebp
push 0x4322b6
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x43226e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
call fcn.00404a54
cmp dword [ebp - 4], 0
jne 0x432180
lea edx, [ebp - 4]
xor eax, eax
call fcn.00433754
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f14
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
push 0
push 0x4000
call fcn.0042fa2c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.004050a0
lea eax, [ebp - 0x10]
call fcn.00404f6c
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4322c8
lea eax, [ebp - 0x10]
call fcn.00404f6c
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0xc]
push ebx
mov eax, esi
call fcn.00407e48
movzx eax, ax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
movzx eax, si
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, edi
call fcn.00407e48
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
movzx eax, di
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x3c]
mov ecx, 3
mov eax, 0x4322d4
call fcn.0040af50
cmp dword [ebp - 8], 1
jg 0x432249
cmp dword [ebp - 0xc], 4
jge 0x432264
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00431fa4
mov edx, dword [ebp - 0x40]
mov eax, ebx
call fcn.00404aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x432290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4322bd
lea eax, [ebp - 0x40]
call fcn.00404a54
lea eax, [ebp - 0x10]
call fcn.00404a54
lea eax, [ebp - 4]
call fcn.00404a54
ret
Function at 0x432300
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f04
xor eax, eax
push ebp
push 0x4324e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404a54
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x43235c
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00433754
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00404aec
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00404f14
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jbe 0x4324b1
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004050a0
mov eax, dword [ebp - 0x10]
call fcn.00404f14
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00404f14
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4324b1
lea eax, [ebp - 0x14]
mov edx, 0x432500
call fcn.00404aec
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404f14
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404f14
push eax
call sub.version.dll_VerQueryValueA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4324b1
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
lea eax, [ebp - 0x14]
push eax
movzx eax, bx
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, ebx
call fcn.00407e48
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x34]
mov ecx, 2
mov eax, 0x432524
call fcn.0040af50
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404f14
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404f14
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4324b1
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.0040aa60
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [esi]
mov ecx, 0x432548
mov edx, 0x432554
call fcn.00431d28
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.00404aa8
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 1
jg 0x432490
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 4
jge 0x4324b1
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [esi]
call fcn.00431fa4
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.00404aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4324f0
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404a78
lea eax, [ebp - 0x1c]
call fcn.00404a54
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404a78
lea eax, [ebp - 4]
call fcn.00404a54
ret