joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408fca
Capabilities:
Hash data using murmur3

Disassembly:
sub esp, 0x130
mov edx, dword [esp + 0x138]
push ebx
mov ebx, dword [esp + 0x138]
push ebp
push esi
push edi
add ebx, 8
lea edi, [esp + 0x18]
push 8
mov esi, ebx
mov dword [esp + 0x40], ebx
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x24]
xor edi, edi
add edx, 2
mov dword [esp + 0x38], edi
mov ebp, edi
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
cmp ebp, 0x10
jae 0x40903c
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov dword [esp + ebp*4 + 0x40], ecx
jmp 0x409073
mov ecx, dword [esp + ebp*4 + 0x38]
mov esi, ecx
mov edx, dword [esp + ebp*4 + 4]
mov eax, ecx
rol esi, 0xf
rol eax, 0xd
xor esi, eax
shr ecx, 0xa
xor esi, ecx
mov eax, edx
mov ecx, edx
ror eax, 7
rol ecx, 0xe
xor ecx, eax
shr edx, 3
xor ecx, edx
add esi, ecx
add esi, dword [esp + ebp*4]
add esi, dword [esp + ebp*4 + 0x24]
mov dword [esp + ebp*4 + 0x40], esi
mov ecx, dword [esp + 0x18]
mov esi, ebx
ror esi, 0xb
mov eax, ebx
rol eax, 7
mov edx, ecx
xor esi, eax
ror edx, 0xd
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, edi
xor eax, dword [esp + 0x30]
and eax, ebx
xor eax, dword [esp + 0x30]
add esi, eax
mov eax, ecx
add esi, dword [ebp*4 + 0x401f38]
add esi, dword [esp + ebp*4 + 0x40]
add esi, dword [esp + 0x34]
add dword [esp + 0x10], esi
rol eax, 0xa
xor edx, eax
mov eax, ecx
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, dword [esp + 0x18]
or ecx, dword [esp + 0x18]
and ecx, dword [esp + 0x20]
or eax, ecx
mov ecx, dword [esp + 0x30]
add eax, esi
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0x14]
inc ebp
mov dword [esp + 0x30], edi
add edx, 4
mov dword [esp + 0x24], ecx
mov edi, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
cmp ebp, 0x40
jb 0x409013
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x38]
mov eax, dword [esp + edi*4 + 0x18]
add dword [ebx], eax
inc edi
lea ebx, [ebx + 4]
cmp edi, 8
jb 0x40912d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 8
Function at 0x4091a4
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
sub esp, 0x24
xor eax, eax
mov byte [esp + 4], 0
push ebp
push edi
lea edi, [esp + 0xd]
and dword [esp + 8], 0
stosd dword es:[edi], eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
mov byte [esp + 0x1c], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x1d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x38]
mov edi, ecx
test eax, eax
jle 0x409284
push ebx
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push esi
sub ebx, eax
xor esi, esi
push 0x10
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004026e5
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
push 0
push dword [esp + 0x50]
call fcn.00402cef
xor edx, edx
lea ecx, [esp + 0x14]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, 0x10
jl 0x409217
test ebp, ebp
je 0x409243
push 0
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x20]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x409259
push 0x10
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x44]
add eax, esi
push eax
call fcn.004026e5
add esp, 0xc
push 0x10
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x40]
call fcn.004026e5
mov eax, dword [esp + 0x4c]
add esi, 0x10
add esp, 0xc
add edi, 0x10
cmp esi, eax
jl 0x4091f4
mov ecx, dword [esp + 0x3c]
pop esi
pop ebx
pop edi
test ebp, ebp
pop ebp
jne 0x40928e
mov byte [ecx + eax], 0
add esp, 0x24
ret 0x18

Function at 0x409294
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0xc], 0
push esi
mov esi, dword [esp + 0xc]
jle 0x4092f2
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
sub ebx, esi
push edi
push 0x10
mov edi, esi
pop ecx
mov al, byte [ebx + edi]
xor byte [edi], al
inc edi
dec ecx
jne 0x4092b0
push esi
push esi
push 1
push dword [esp + 0x2c]
call fcn.00402cef
push 0x10
push esi
push dword [esp + 0x2c]
call fcn.0040745b
push 0x10
push esi
push dword [esp + 0x1c]
call fcn.004026e5
add ebp, 0x10
add esp, 0xc
sub ebx, 0x10
mov esi, edi
cmp ebp, dword [esp + 0x1c]
jl 0x4092ab
pop edi
pop ebp
pop ebx
pop esi
ret 0x14
Function at 0x409b8b
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
push 0x44
xor edi, edi
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00402707
add esp, 0xc
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 4

Function at 0x409be4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push dword [0x40d2e0]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call fcn.00409bcd
test eax, eax
jne 0x409c89
push edi
xor edi, edi
push edi
push 0x80
push 1
push edi
push edi
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x409c88
push esi
push 0x20
push dword [0x40d2bc]
mov dword [ebp + 8], edi
push dword [0x401938]
push dword [0x40d2c4]
call fcn.00409392
push edi
lea eax, [ebp + 8]
push eax
push 0x300
push 0x40ce70
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push 0x20
push dword [0x40d2bc]
push dword [0x401940]
push dword [0x40d2c0]
call fcn.00409392
test esi, esi
je 0x409c88
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret 4

Function at 0x409ccf
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
mov esi, 0x1000
push esi
call fcn.00402839
push esi
mov edi, eax
call fcn.00402839
pop ecx
pop ecx
mov esi, eax
push esi
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
xor ebx, ebx
push ebx
push 0x4020b8
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x4020c0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x409d49
push eax
push 0x20
push 0x401134
push 0x1d0
push 0x401368
call fcn.00409392
push edi
call fcn.00409b8b
pop edi
pop esi
pop ebx
ret
Function at 0x409eaa
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x1008
call sub.ntdll.dll__chkstk
push ebx
push esi
push edi
lea eax, [esp + 0xc]
xor esi, esi
push eax
push 0x20019
push esi
mov edi, 0x402108
mov ebx, 0x80000001
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409f65
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x1c]
mov ebp, 0x40216c
push eax
push esi
push esi
push ebp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x101c]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x409f5a
push esi
lea eax, [esp + 0x14]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x409f5a
push dword [esp + 0x101c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [esp + 0x1020]
push 1
push esi
push ebp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1008
ret 4

Function at 0x40a1bf
Capabilities:
Create thread
Get disk information

Disassembly:
sub esp, 0x870
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x70
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x7fc
mov ebx, eax
mov dword [esp + 0x84], 0x5c3a41
xor esi, esi
lea eax, [esp + 0x88]
push esi
push eax
call fcn.00402707
add esp, 0xc
test ebx, ebx
je 0x40a263
test bl, 1
je 0x40a258
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x40a22f
cmp eax, 2
je 0x40a22f
cmp eax, 4
jne 0x40a258
push 3
push 0
mov byte [esp + 0x8b], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [esp + 0x80]
mov dword [ebp + esi*4], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
inc esi
inc byte [esp + 0x80]
shr ebx, 1
jne 0x40a20d
xor edi, edi
test esi, esi
jle 0x40a2be
mov ebx, dword [esp + 0x888]
lea eax, [esp + 0x10]
sub ebp, eax
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x884]
mov dword [eax + 4], ecx
lea ecx, [edi*4]
add ecx, ebp
mov dword [eax + 8], ebx
mov ecx, dword [esp + ecx + 0x10]
mov dword [eax], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x409f71
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0x10], eax
inc edi
cmp edi, esi
jl 0x40a276
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x870
ret 8
Function at 0x40a367
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
xor ebp, ebp
push ebp
push 0x80
push 4
push ebp
push ebp
push 0xc0000000
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40a398
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40a480
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call esi
mov edi, eax
test edi, edi
jne 0x40a410
push 0x400
call fcn.00402839
pop ecx
push ebx
push 0x4017f8
push 0x4017c8
push dword [0x40d2d4]
mov esi, eax
push dword [esp + 0x2c]
push dword [0x401130]
push 0x401158
push esi
call fcn.0040a932
mov ebp, 0x40ce70
push ebp
push esi
call fcn.0040287c
push esi
call fcn.00402825
pop ecx
push 2
xor esi, esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [esp + 0x18]
push eax
push 0x300
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40a475
cmp edi, 0xb7
jne 0x40a475
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x10]
push ebp
push eax
push 0x100
push dword [0x40d2d4]
push ebx
call edi
test eax, eax
je 0x40a471
cmp dword [esp + 0x10], 0x100
jne 0x40a471
push 1
push ebp
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
lea eax, [esp + 0x14]
push eax
push 0x300
push 0x40ce70
push ebx
call edi
test eax, eax
je 0x40a471
cmp dword [esp + 0x10], 0x300
jne 0x40a471
mov edi, ebp
jmp 0x40a475
call esi
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x40a75e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
push 0x9b4
push eax
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call fcn.00402707
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x9b2
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404540
mov ebx, eax
test ebx, ebx
jne 0x40a7d9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov word [esi + edi], 0xa0d
add esi, 2
cmp dword [ebp + 0x10], ebx
je 0x40a7d4
push ebx
lea eax, [ebp - 8]
push eax
push esi
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40a7cf
mov eax, dword [ebp - 4]
inc eax
cmp dword [ebp - 8], eax
je 0x40a7d4
push 0xfffffffffffffffe
pop eax
jmp 0x40a7db
mov byte [esi + edi - 2], 0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2e4f1912
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x58921d2b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x416428
sub esp, 0xffffff80
jmp 0x405dd2
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7b6e37dc
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x30677a59
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10016afb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10016b0a
pop dword [ebp - 0x3c]
mov eax, 0xa27c8899
sub eax, 0x927b1d8f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x4e6f5fa3
sub dword [ebp - 0x4c], 0x1d1a58
mov dword [ebp - 0x48], 0x3c7210bc
add dword [ebp - 0x48], 0xf5c13b89
mov dword [ebp - 0x44], 0x7e550660
sub dword [ebp - 0x44], 0x3208c232
mov dword [ebp - 0x40], 0x2a5f9e58
add dword [ebp - 0x40], 0xd5a061a8
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x5cb518f
sub eax, 0xf5cb405f
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xf4d0f954
sub dword [ebp - 0x4c], 0x805e8ffe
mov dword [ebp - 0x48], 0x81335726
sub dword [ebp - 0x48], 0x3fc6f5b1
mov dword [ebp - 0x44], 0x63603f70
sub dword [ebp - 0x44], 0xfff0d304
mov dword [ebp - 0x40], 0xc8411b9d
sub dword [ebp - 0x40], 0xc8411b9d
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xbaa6fa68
add eax, 0x555916ac
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ff98
push 0
call eax
mov ecx, 0x8eaf4cd
add ecx, 0xf71558a3
mov ebx, eax
mov esi, 0xd0ac6dc9
sub esi, 0xc0a975c9
add esi, dword [ebp - 0x3c]
mov edi, 0xd9e8bfd9
xor dword [ebp - 4], eax
mov edx, dword [esi]
xor dword [ebp - 0x38], eax
xor edx, edi
sub dword [ebp - 0x34], ecx
mov dword [ebx], edx
mov dword [ebp - 0x18], 0xdd7e8502
add ebx, 4
add esi, 4
loop 0x10016c26
add eax, 0xd65080f4
add eax, 0x29b0a79f
xor ebx, ebx
add ebx, eax
add eax, 0x37b8677b
add eax, 0xc847988a
mov ecx, 0xe504b987
add ecx, 0x2afb4679
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x100269ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100060ec]
jne 0x10027054
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1002bda8], eax
mov dword [0x1002bda4], ecx
mov dword [0x1002bda0], edx
mov dword [0x1002bd9c], ebx
mov dword [0x1002bd98], esi
mov dword [0x1002bd94], edi
mov word [0x1002bdc0], ss
mov word [0x1002bdb4], cs
mov word [0x1002bd90], ds
mov word [0x1002bd8c], es
mov word [0x1002bd88], fs
mov word [0x1002bd84], gs
pushfd
pop dword [0x1002bdb8]
mov eax, dword [ebp]
mov dword [0x1002bdac], eax
mov eax, dword [ebp + 4]
mov dword [0x1002bdb0], eax
lea eax, [ebp + 8]
mov dword [0x1002bdbc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1002bcf8], 0x10001
mov eax, dword [0x1002bdb0]
mov dword [0x1002bcac], eax
mov dword [0x1002bca0], 0xc0000409
mov dword [0x1002bca4], 1
mov eax, dword [0x100060ec]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1002baac]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1002bcf0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100060fc
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1002bcf0], 0
jne 0x10027140
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
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
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3dd56e54
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x78bd1d08
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x4010f0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x40332c], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 4]
mov dword [0x40319f], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401121
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40319f]
mov dword [ebp - 0x48], eax
mov eax, 0x401b7b
mov dword [ebp - 0x54], eax
mov ecx, 0x4030bd
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x40319f]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403378], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403378]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4011d9
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4011cb
mov esp, ebp
ret