joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a5d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 0x41
mov word [esp + 0x6c], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41a629
mov eax, 1
pop edi
add esp, 0x54
ret
mov eax, dword [esp + 4]
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
pop esi
mov eax, 1
pop edi
add esp, 0x54
ret

Function at 0x427c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd8
push ebx
mov ebx, dword [esp + 0xe4]
push esi
push edi
mov al, byte [ebx]
xor esi, esi
xor edi, edi
cmp al, 0x7d
je 0x427e7f
push ebp
mov ebp, dword [esp + 0xec]
push 0xc
call fcn.00429fb0
mov ecx, 1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xb8]
push edx
push eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x28], ecx
call fcn.00429da0
mov eax, dword [ebp + 0xc4]
cmp eax, esi
je 0x427cc1
push eax
call fcn.00429d00
cmp eax, esi
je 0x427cb5
mov ecx, dword [eax]
mov edx, dword [ebp + 0xac]
cmp ecx, edx
je 0x427ca6
mov edx, dword [ebp + 0xc4]
push edx
call fcn.00429d40
cmp eax, esi
jne 0x427c8a
cmp eax, esi
je 0x427cb5
add eax, 4
push eax
lea eax, [esp + 0x34]
push eax
jmp 0x427ccb
lea ecx, [esp + 0x30]
push str.Helv
push ecx
jmp 0x427ccb
lea edx, [esp + 0x30]
push str.Helv
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0xffffff
mov dword [esp + 0x50], esi
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
lea eax, [edi + ebx]
mov dword [esp + 0x54], esi
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0xac], esi
invalid
inc esp
and al, 0x24
or al, byte [eax]

Function at 0x427e00
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x427e3b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x427e22
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x427e33
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x427e3d
inc edi
add eax, 0x28
cmp edi, esi
jb 0x427e18
xor eax, eax
pop edi
pop esi
ret
Function at 0x4280b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00427dc0
mov word [edx + 0x7d], es
push ecx
lea eax, [ebp - 0x40]
push eax
call fcn.00427dd0
push eax
push esi
push dword [ebp + 8]
call fcn.00427d85
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00427dc0
mov al, byte [0x8d4bc000]
inc ebp
call 0x512adeb6
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6

Function at 0x428160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00427dd0
push eax
push esi
push dword [ebp + 8]
call fcn.00427d85
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
inc ebp
mov eax, dword [0xa245c62e]
xor eax, 0x24a345c6
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00427dd0
push eax
push esi
push dword [ebp + 8]
call fcn.00427d85
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
dec edx
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00427dd0
push eax
push esi
push dword [ebp + 8]
call fcn.00427d85
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00427dc0
cmp ecx, dword [edx - 0x62776ee4]
jl 0x428245
invalid
invalid

Function at 0x4281b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov eax, dword [0xa245c62e]
xor eax, 0x24a345c6
Function at 0x428610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [edi - 0x3a]
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00427dd0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00427d85
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00427dd0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00427d85
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
wait
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], pe_nt_image_headers32
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00427dd0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00427d85
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00427dc0
pop eax
jae 0x4287c0
jns 0x4287b3
movsd dword es:[edi], dword [esi]
int3

Function at 0x42a9f0
Capabilities:
Get common file path

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x108
lea eax, [esp]
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
lea edx, [esp + 4]
mov eax, dword [esp + 0x110]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x108
ret 8
Function at 0x42aa30
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
lea eax, [esp]
push esi
mov esi, dword [esp + 0x114]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
push eax
push str.TEMP
call edi
test eax, eax
jne 0x42aa80
lea ecx, [esp + 8]
push esi
push ecx
push str.temp
call edi
test eax, eax
jne 0x42aa80
mov edx, dword [esp + 0x114]
push esi
push edx
call fcn.0042a9f0
pop edi
pop esi
add esp, 0x108
ret 8
mov ecx, dword [esp + 0x114]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
mov eax, 1
pop esi
add esp, 0x108
ret 8

Function at 0x42aab0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 0x10]
cmp esi, 0x200
push edi
ja 0x42aae8
je 0x42aad5
test esi, esi
jne 0x42aaf8
mov eax, 1
mov ecx, 0x80000000
mov edx, 3
jmp 0x42ab20
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or eax, 0xffffffff
pop edi
pop esi
ret 0xc
cmp esi, 0x1000
je 0x42ab11
cmp esi, 0x4000
je 0x42ab00
or eax, 0xffffffff
pop edi
pop esi
ret 0xc
mov eax, 1
mov ecx, 0x80000000
mov edx, 3
jmp 0x42ab20
mov eax, 3
mov ecx, 0xc0000000
mov edx, 2
push 0
push pe_nt_image_headers32
push edx
push 0
push eax
push ecx
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, 0x4000
mov edi, eax
jne 0x42ab56
cmp edi, 0xffffffff
je 0x42ab54
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, edi
pop edi
pop esi
ret 0xc
xor edi, edi
mov eax, edi
pop edi
pop esi
ret 0xc
Function at 0x42b880
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x94
lea ecx, [esp + 0x44]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push ecx
call edi
lea edx, [esp + 0x54]
push 0x4420dc
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor ebx, ebx
test eax, eax
jne 0x42b91c
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFontSubstitutes
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x42b91c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x7c]
push edx
push eax
push ebx
push ebx
push str.MS_Shell_Dlg
push ecx
mov dword [esp + 0x2c], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x42b91c
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x54]
push eax
push ecx
call edi
cmp dword [0x4455a0], ebx
jne 0x42b929
call fcn.0042b7b0
mov ebp, dword [esp + 0xa8]
cmp ebp, ebx
jne 0x42b93a
mov ebp, dword [0x44627c]
mov edx, dword [0x4455a0]
xor esi, esi
push edx
call fcn.00429d00
mov edi, eax
cmp edi, ebx
je 0x42b972
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x42b960
mov esi, edi
mov ecx, dword [0x4455a0]
push ecx
call fcn.00429d40
cmp esi, ebx
mov edi, eax
je 0x42b94a
cmp esi, ebx
je 0x42b9c2
lea edx, [esp + 0x34]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, byte [esi + 0x2a]
imul ebp, dword [esp + 0xb0]
mov byte [esp + 0x2f], al
mov cl, byte [esi + 0x29]
mov byte [esp + 0x31], cl
mov dl, byte [esi + 0x28]
mov eax, 0xc71c71c7
mov byte [esp + 0x30], dl
imul ebp
sar edx, 4
mov eax, edx
mov byte [esp + 0x32], 1
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x18], edx
mov cl, byte [esi + 0x24]
mov byte [esp + 0x33], cl
jmp 0x42ba06
lea edx, [esp + 0x34]
push str.Arial
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0xc71c71c7
mov byte [esp + 0x32], 1
imul ebp, dword [esp + 0xb0]
imul ebp
sar edx, 4
mov eax, edx
mov byte [esp + 0x30], 7
shr eax, 0x1f
add edx, eax
mov byte [esp + 0x33], 0x22
mov dword [esp + 0x18], edx
mov byte [esp + 0x31], bl
mov byte [esp + 0x2f], bl
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0xb8]
neg ecx
mov esi, dword [esp + 0xbc]
mov dword [esp + 0x24], ebx
sbb ecx, ecx
mov byte [esp + 0x2e], bl
and ecx, 0x12c
mov dword [esp + 0x1c], ebx
add ecx, 0x190
cmp edi, ebx
setne dl
cmp esi, ebx
mov dword [esp + 0x28], ecx
setne al
mov byte [esp + 0x2d], al
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x2c], dl
lea edx, [esp + 0x18]
lea ecx, [eax + eax*4]
push edx
shl ecx, 1
mov dword [esp + 0x24], ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x20
Function at 0x42d360
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x445620]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x42d37f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x44561c], 1
mov byte [0x445618], bl
jne 0x42d3d9
mov ecx, dword [0x446528]
test ecx, ecx
je 0x42d3c7
mov esi, dword [0x446524]
sub esi, 4
cmp esi, ecx
jb 0x42d3c7
mov eax, dword [esi]
test eax, eax
je 0x42d3c0
call eax
mov ecx, dword [0x446528]
sub esi, 4
cmp esi, ecx
jae 0x42d3b2
push 0x441014
push 0x441010
call fcn.0042d410
add esp, 8
push 0x44101c
push 0x441018
call fcn.0042d410
add esp, 8
test ebx, ebx
jne 0x42d400
push ebp
mov dword [0x445620], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x42d9c0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x445730]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x42da02
call edi
mov esi, eax
test esi, esi
je 0x42d9ec
mov eax, 1
jmp 0x42d9fd
call ebp
mov ebx, eax
test ebx, ebx
je 0x42db0f
mov eax, 2
mov dword [0x445730], eax
cmp eax, 1
jne 0x42daa2
test esi, esi
jne 0x42da1b
call edi
mov esi, eax
test esi, esi
je 0x42db0f
cmp word [esi], 0
mov eax, esi
je 0x42da35
add eax, 2
cmp word [eax], 0
jne 0x42da23
add eax, 2
cmp word [eax], 0
jne 0x42da23
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x42da94
push edi
call fcn.0042e430
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42da94
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x42da86
push ebx
call fcn.0042fff0
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x42db0f
test ebx, ebx
jne 0x42dab3
call ebp
mov ebx, eax
test ebx, ebx
je 0x42db0f
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x42dacb
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42dabb
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42dabb
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.0042e430
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x42daed
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x42e250
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x4425f0
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x42e274
add eax, 8
inc ebp
cmp eax, 0x442680
jb 0x42e265
cmp ecx, dword [ebp*8 + 0x4425f0]
jne 0x42e41b
mov eax, dword [0x4455ac]
cmp eax, 1
je 0x42e3dd
test eax, eax
jne 0x42e2a0
cmp dword [0x442148], 1
je 0x42e3dd
cmp ecx, 0xfc
je 0x42e41b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42e2db
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x42e324
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x440440
add ebx, ecx
push ebx
call fcn.004308e0
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x440420
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x4425f4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00430850
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x446420]
test eax, eax
je 0x42e3ee
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x42e3f8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x4425f4]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x431030
Capabilities:
Set environment variable

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4311ee
push 0x3d
push edi
call fcn.00433480
mov esi, eax
add esp, 8
test esi, esi
je 0x4311ee
cmp edi, esi
je 0x4311ee
mov dl, byte [esi + 1]
mov ecx, dword [0x445604]
xor eax, eax
test dl, dl
sete al
mov ebp, eax
mov eax, dword [0x445600]
cmp eax, ecx
jne 0x431087
push eax
call fcn.004312c0
add esp, 4
mov dword [0x445600], eax
test eax, eax
jne 0x431102
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4310ae
mov eax, dword [0x445608]
test eax, eax
je 0x4310ae
call fcn.0042ec90
test eax, eax
je 0x4310fd
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebp, ebp
je 0x4310ba
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
call fcn.0042e430
add esp, 4
mov dword [0x445600], eax
test eax, eax
je 0x4311ee
mov dword [eax], 0
mov eax, dword [0x445608]
test eax, eax
jne 0x4310fd
push 4
call fcn.0042e430
add esp, 4
mov dword [0x445608], eax
test eax, eax
je 0x4311ee
mov dword [eax], 0
mov eax, dword [0x445600]
mov ebx, eax
mov eax, esi
sub eax, edi
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.00431240
mov esi, eax
add esp, 8
test esi, esi
jl 0x4311ff
cmp dword [ebx], 0
je 0x4311ff
test ebp, ebp
je 0x4311f7
mov ecx, dword [ebx + esi*4]
lea edi, [ebx + esi*4]
push ecx
call fcn.0042fff0
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x431159
mov eax, edi
mov edx, dword [eax + 4]
add eax, 4
mov dword [edi], edx
inc esi
mov ecx, dword [eax]
mov edi, eax
test ecx, ecx
jne 0x431148
lea eax, [esi*4]
push eax
push ebx
call fcn.004332e0
add esp, 8
test eax, eax
je 0x431173
mov dword [0x445600], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4311e6
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.0042e430
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4311e6
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
neg ebp
rep movsb byte es:[edi], byte [esi]
sbb ebp, ebp
mov byte [ebx + eax], 0
lea eax, [ebx + eax + 1]
not ebp
and ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.0042fff0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov dword [ebx + esi*4], edi
jmp 0x431177
test ebp, ebp
jne 0x4311e6
test esi, esi
jge 0x431209
neg esi
lea ecx, [esi*4 + 8]
push ecx
push ebx
call fcn.004332e0
add esp, 8
test eax, eax
je 0x4311ee
mov dword [eax + esi*4], edi
mov dword [eax + esi*4 + 4], 0
mov dword [0x445600], eax
jmp 0x431177
Function at 0x433005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..pdata
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2b546c54
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x11047447
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4017c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404004]
jne 0x4017ce
repz ret
jmp fcn.00401b99

Function at 0x401000
Capabilities:
Execute command

Disassembly:
push str.start_Enginevcs.exe_vcsgamedata.iso
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
xor eax, eax
ret

Function at 0x401817
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401856
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401856
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401856
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401856
cmp dword [ecx + 0x74], 0xe
jbe 0x401856
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219