joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40540f
pop dword [ebp - 0x3c]
mov eax, 0x52b82307
sub eax, 0x5277cef8
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xb8e0cbc4
sub dword [ebp - 0x4c], 0x6a8e8679
mov dword [ebp - 0x48], 0xec2c674a
sub dword [ebp - 0x48], 0xb9f91b05
mov dword [ebp - 0x44], 0x400d055e
sub dword [ebp - 0x44], 0xf3c0c130
mov dword [ebp - 0x40], 0xefc2e749
add dword [ebp - 0x40], 0x103d18b7
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x1000a044
sub eax, 0xfbf3fac
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xac69aef4
add dword [ebp - 0x4c], 0xc808ba62
mov dword [ebp - 0x48], 0x9a695ef7
sub dword [ebp - 0x48], 0x58fcfd82
mov dword [ebp - 0x44], 0x389a7c98
sub dword [ebp - 0x44], 0xd52b102c
mov dword [ebp - 0x40], 0x9ace6791
add dword [ebp - 0x40], 0x6531986f
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x4523771d
sub eax, 0x44e216a9
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ac5a
push 0
call eax
mov ecx, 0xd0e88537
sub ecx, 0xd0e84093
mov ebx, eax
mov esi, 0xbb6e3d47
add esi, 0x44d468b9
add esi, dword [ebp - 0x3c]
mov edx, 0xb7f42318
add edx, 0x3a43cc55
sub dword [ebp - 0x34], 0xf9ce0b2d
mov edi, dword [esi]
mov dword [ebp - 0x24], 0x93451f9c
sub edi, edx
xor dword [ebp - 4], ecx
mov dword [ebx], edi
sub dword [ebp - 0x28], ebx
add ebx, 0x4d4d0874
sub ebx, 0x4d4d0870
add esi, 0x897c806d
sub esi, 0x897c8069
loop 0x405531
add eax, 0x4c898c93
add eax, 0xb37778d0
mov ebx, eax
add eax, 0x5c2a987b
sub eax, 0x5c2a9876
mov ecx, 0x485c78b6
add ecx, 0xb7e3874a
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401e40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401e8b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401e84
test esi, esi
je 0x401e84
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401e60
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402090
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4020e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4021b4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x40211e
cmp eax, 4
jne 0x402140
test esi, esi
je 0x402132
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x402124
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x40217f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x402171
cmp ecx, 0x40
je 0x402132
cmp ecx, 4
je 0x402132
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402090
lea esi, [esi]
Function at 0x40146f
Capabilities:
Encode data using xor

Disassembly:
jmp 0x419030
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x41917c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
add byte [esi + edi], 0x1a
call ebx
add byte [esi + edi], 0x5c
call ebx
xor byte [esi + edi], 0x83
call ebx
add byte [esi + edi], 0x88
call ebx
add byte [esi + edi], 0x32
call ebx
add byte [esi + edi], 0x2f
call ebx
add byte [esi + edi], 5
call ebx
xor byte [esi + edi], 0xed
call ebx
add byte [esi + edi], 0x56
call ebx
add byte [esi + edi], 0x35
call ebx
xor byte [esi + edi], 0x8b
call ebx
add byte [esi + edi], 0xcd
call ebx
add byte [esi + edi], 0x91
call ebx
add byte [esi + edi], 0x6c
call ebx
add byte [esi + edi], 0x1c
call ebx
add byte [esi + edi], 0x81
call ebx
xor byte [esi + edi], 1
call ebx
add byte [esi + edi], 0xb1
call ebx
add byte [esi + edi], 0x45
call ebx
add byte [esi + edi], 0x17
call ebx
add byte [esi + edi], 0x9d
call ebx
add byte [esi + edi], 0x9a
call ebx
add byte [esi + edi], 0x9a
call ebx
add byte [esi + edi], 0x8d
call ebx
add byte [esi + edi], 0xda
call ebx
xor byte [esi + edi], 0xa3
call ebx
add byte [esi + edi], 0x60
call ebx
add byte [esi + edi], 0x6c
call ebx
add byte [esi + edi], 0x6b
call ebx
add byte [esi + edi], 0xec
call ebx
add byte [esi + edi], 0x64
call ebx
xor byte [esi + edi], 0x5a
call ebx
xor byte [esi + edi], 0x45
call ebx
xor byte [esi + edi], 0xf0
call ebx
add byte [esi + edi], 0x98
call ebx
add byte [esi + edi], 0xea
call ebx
xor byte [esi + edi], 0xf8
call ebx
add byte [esi + edi], 0x2e
call ebx
add byte [esi + edi], 0xd9
call ebx
xor byte [esi + edi], 0x3f
call ebx
add byte [esi + edi], 0xa5
call ebx
xor byte [esi + edi], 0x22
call ebx
add byte [esi + edi], 0x2b
call ebx
xor byte [esi + edi], 0xb0
call ebx
add byte [esi + edi], 0xaa
call ebx
xor byte [esi + edi], 0x98
call ebx
add byte [esi + edi], 0x96
call ebx
add byte [esi + edi], 0x5b
call ebx
add byte [esi + edi], 0x7d
inc esi
cmp esi, dword [esp + 0x14]
jb 0x419049
pop edi
pop ebx
pop esi
ret

Function at 0x4026e9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x419d11
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipCursor]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x5d03d0], eax
pop edi
pop esi
ret
Function at 0x40a978
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44d5f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040775f
and dword [ebp - 0x14], 0
cmp dword [0x451718], 0
mov dword [ebp - 0x18], eax
jne 0x40aa2b
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40aad3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push ebx
call edi
test eax, eax
je 0x40aad3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402470
push ebx
mov dword [0x451718], eax
call edi
push eax
call esi
push 0x40245c
push ebx
mov dword [0x45171c], eax
call edi
push eax
call esi
push 0x402440
push ebx
mov dword [0x451720], eax
call edi
push eax
call esi
mov dword [0x451728], eax
test eax, eax
je 0x40aa2b
push 0x402428
push ebx
call edi
push eax
call esi
mov dword [0x451724], eax
mov eax, dword [0x451724]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40aa84
cmp dword [0x451728], ecx
je 0x40aa84
push eax
call esi
push dword [0x451728]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40aa84
test ebx, ebx
je 0x40aa84
call edi
test eax, eax
je 0x40aa7b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aa7b
test byte [ebp - 8], 1
jne 0x40aa84
or dword [ebp + 0x10], 0x200000
jmp 0x40aab7
mov eax, dword [0x45171c]
cmp eax, dword [ebp - 0x18]
je 0x40aab7
push eax
call esi
test eax, eax
je 0x40aab7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40aab7
mov eax, dword [0x451720]
cmp eax, dword [ebp - 0x18]
je 0x40aab7
push eax
call esi
test eax, eax
je 0x40aab7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x451718]
call esi
test eax, eax
je 0x40aad3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40aad5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ace3
leave
ret

Function at 0x40ace3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d5f8]
jne 0x40aced
repz ret
jmp fcn.0040db35
Function at 0x434890
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x1420
call fcn.0040dee0
cmp dword [0x22936a4], 0x37
jne 0x434947
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x403478
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x403490
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0xc20]
push edx
push 0
push 0x4034e8
push 0x403500
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x40359c
push 0x4035b4
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov eax, dword [0x22936a8]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x456834]
mov byte [eax + esi], dl
add esp, 0x1420
ret

Function at 0x434970
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov edx, dword [0x44e358]
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push ebx
mov ebx, dword [0x44e360]
push ebp
mov ebp, dword [0x44e364]
push esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [0x44e35c]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xc6ef3720
mov dword [esp + 0x28], 0x9e3779b9
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0x20
jmp 0x4349c4
mov eax, dword [esp + 0x18]
mov edx, eax
mov edi, eax
shr edx, 5
shl edi, 4
add edi, ebx
add edx, ebp
xor edx, edi
mov edi, dword [esp + 0x10]
add edi, eax
xor edx, edi
sub esi, edx
mov eax, esi
shl eax, 4
mov dword [0x2289654], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
add edi, esi
cmp dword [0x22936a4], 0x1be
jne 0x434a20
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esp + 0x78]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x24]
mov dword [0x2289658], 0xff6b3619
xor edx, edi
xor dword [esp + 0x14], edx
mov dword [0x228965c], 0xffffffff
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x10], eax
dec dword [esp + 0x1c]
jne 0x4349c0
cmp dword [0x22936a4], 0x8d4
jne 0x434a8b
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
mov edx, dword [esp + 0x18]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x64
ret 4
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 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x438860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x438882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x438889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x438878
mov eax, 1
add ebx, ebx
jne 0x43889b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x438890
jne 0x4388ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x438890
xor ecx, ecx
sub eax, 3
jb 0x4388c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x438932
mov ebp, eax
add ebx, ebx
jne 0x4388cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4388d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4388fc
inc ecx
add ebx, ebx
jne 0x4388e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4388dd
jne 0x4388f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4388dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43891c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43890d
jmp 0x43887e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43891c
add edi, ecx
jmp 0x43887e
pop esi
mov edi, esi
mov ecx, 0xe0e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43893a
cmp byte [edi], 0xa
jne 0x43893a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x43893f
lea edi, [esi + 0x36000]
mov eax, dword [edi]
or eax, eax
je 0x4389b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3820c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x382ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43896c
mov ecx, edi
jns 0x43899b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x382b0]
or eax, eax
je 0x4389b1
mov dword [ebx], eax
add ebx, 4
jmp 0x438989
call dword [esi + 0x382b4]
popal
jmp 0x41be59
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040cac0
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040cac0
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040cac0
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040cac0
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040cac0
mov dword [0x41203c], eax
call fcn.0040cac0
test eax, eax
jge 0x402550
push 8
call fcn.0040cac0
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040cac0
pop ecx
push 1
call fcn.0040cac0
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040cac0
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040cac0
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040cac0
jmp 0x402495

Function at 0x40cac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40cacf
pop dword [ebp - 0x44]
mov eax, 0x5f7f41c7
add eax, 0xa0c18908
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3716e
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xc4af73dd
add ecx, 0x3b50cb8f
mov ebx, eax
mov edi, 0x413bc4
add edi, dword [ebp - 0x44]
mov edx, 0x1c5480d0
xor dword [ebp - 0x14], 0x3865a2f2
mov esi, dword [edi]
sub dword [ebp - 0x40], edi
xor esi, edx
mov dword [ebp - 0xc], 0x514bdbf4
mov dword [ebx], esi
sub dword [ebp - 0x30], ecx
add ebx, 0x16a7720c
add ebx, 0xe9588df8
add edi, 0x51378ada
sub edi, 0x51378ad6
loop 0x40cb1d
add eax, 0xaa1f52fb
add eax, 0x55e19d88
xor ebx, ebx
add ebx, eax
add eax, 0x55d5b588
add eax, 0xaa2a4a7d
mov ecx, 0xa5a1967f
add ecx, 0x5a9e6981
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6f5c592c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6ef001e5
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10009170
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000933d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x1000919a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100091a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10009190
mov eax, 1
add ebx, ebx
jne 0x100091b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100091a8
jne 0x100091c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100091a8
xor ecx, ecx
sub eax, 3
jb 0x100091d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000924a
mov ebp, eax
add ebx, ebx
jne 0x100091e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100091f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10009214
inc ecx
add ebx, ebx
jne 0x10009200
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100091f5
jne 0x10009211
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100091f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10009234
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10009225
jmp 0x10009196
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10009234
add edi, ecx
jmp 0x10009196
pop esi
mov edi, esi
mov ecx, 0x73
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10009252
cmp byte [edi], 1
jne 0x10009252
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10009257
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x100092cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10009284
mov ecx, edi
jns 0x100092b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9084]
or eax, eax
je 0x100092c9
mov dword [ebx], eax
add ebx, 4
jmp 0x100092a1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10009300
cmp al, 0xef
ja 0x100092f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100092d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100092e2
mov ebp, dword [esi + 0x9088]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x10009334
sub esp, 0xffffff80
jmp 0x10002b09