joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x477650
xor al, al
jmp 0x47767c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x477667
xor al, al
jmp 0x47767c
mov ecx, dword [ebp - 8]
and ecx, 0x10
je 0x477675
mov byte [ebp - 1], 1
jmp 0x477679
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x477680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536f56
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x59cd24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
push 0x542930
lea ecx, [ebp - 0x14]
call fcn.00453d80
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
push str.temp
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004f834f
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x477780
cmp dword [ebp - 0x10], 0
je 0x477706
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0049f576
add esp, 4
mov dword [ebp - 0x10], 0
push 0x208
call fcn.0049fcd7
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x477737
push 0x208
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.004c4160
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
jmp 0x47773e
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x47777e
mov eax, dword [ebp - 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004551a0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049f576
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x4777a5
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004551a0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0049f576
add esp, 4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00453bc0
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00454680
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x477910
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x4779ca
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4779ca
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4779ca
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4779ba
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 4]
push edx
push 0x53fd90
mov eax, dword [ebp - 8]
push eax
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 4], 0
je 0x4779ba
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret
Function at 0x4779d0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x59cd24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00467d90
movzx eax, al
test eax, eax
je 0x477a11
xor al, al
jmp 0x477b1b
mov ecx, dword [ebp + 8]
call fcn.004552e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x477a2b
xor al, al
jmp 0x477b1b
mov dword [ebp - 0x268], 0
lea ecx, [ebp - 0x260]
push ecx
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x27c], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.004068a7
mov dword [ebp - 0x280], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x278]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004774c0
add esp, 0x20
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x270]
call fcn.004552e0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00454680
cmp dword [ebp - 0x264], 0xffffffff
je 0x477ad6
cmp dword [ebp - 0x264], 0
jne 0x477ada
xor al, al
jmp 0x477b1b
cmp dword [ebp - 0x260], 0x10
je 0x477af2
mov eax, dword [ebp - 0x268]
add eax, 1
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x477ada
cmp dword [ebp - 0x268], 2
jle 0x477b19
mov al, 1
jmp 0x477b1b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fb26
mov esp, ebp
pop ebp
ret
Function at 0x4a37e9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x50711c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00506d1d

Function at 0x507127
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00506ea0

Function at 0x50c0ce
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050b85c

Function at 0x50c0d9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050ba9b

Function at 0x50c3bc
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050c292
Function at 0x84ab48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44094a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x459070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0086a22c
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x84ac06
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], 0x444504
push eax
mov dword [ebp - 0x18], 0x4507a8
mov byte [ebp - 0x14], 1
call fcn.0086dd4b
add esp, 8
mov dword [ebp - 0x24], 0x444550
lea eax, [ebp - 0x24]
push 0x4576e4
push eax
call fcn.0086e458
push edi
push esi
call fcn.0086a574
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0086b8d5
mov esp, ebp
pop ebp
ret 4

Function at 0x8518b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440aa6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x459070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x45072c
call fcn.0086b8e6
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push 1
mov dword [ebp - 4], eax
call fcn.0086a471
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x851ad8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440aa6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x459070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x450600
call fcn.0086b8e6
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push 1
mov dword [ebp - 4], eax
call fcn.0086a471
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x853bc8
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x459070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [edi + 4], eax
lea esi, [edi + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
test edx, edx
je 0x853bf9
mov byte [edx], al
push 0x4508a0
call dword [0x4440dc]
test eax, eax
jne 0x853c17
push 0x4508a0
call dword [0x4440f4]
test eax, eax
je 0x853c47
push 0x450888
push eax
call dword [0x4440f0]
test eax, eax
je 0x853c47
lea ecx, [ebp - 0x98]
push ecx
call eax
test eax, eax
jne 0x853c47
mov eax, dword [ebp - 0x8e]
mov dword [esi], eax
mov ax, word [ebp - 0x8a]
mov word [esi + 4], ax
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 0xa]
push eax
push 0
push 0
push 0x4508ac
call dword [0x4440fc]
push 0xe
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0x67452301
push edi
push eax
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.00869968
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00869a08
push 0xa
lea eax, [ebp - 0x88]
mov dword [ebp - 0xf0], 0x67452301
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xec], 0xefcdab89
push eax
mov dword [ebp - 0xe8], 0x98badcfe
mov dword [ebp - 0xe4], 0x10325476
mov dword [ebp - 0xe0], 0xc3d2e1f0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
call fcn.00869968
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00869a08
lea eax, [ebp - 0x110]
add esp, 8
cmp esi, eax
je 0x853d71
mov eax, dword [ebp - 0x110]
mov dword [esi], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x108]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x104]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x100]
mov dword [esi + 0x10], eax
push 4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0x67452301
push edi
push eax
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.00869968
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00869a08
add esp, 8
xor ecx, ecx
jmp 0x853dd8
mov eax, dword [ebp + ecx - 0x88]
add dword [esi + ecx], eax
add ecx, 4
cmp ecx, 0x14
jne 0x853dd8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0086b8d5
mov esp, ebp
pop ebp
ret
Function at 0x85b1b8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441d84
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x459070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x451048
mov dword [edi + 4], 0x451118
mov dword [edi + 8], 0x4510ac
mov dword [edi + 0xc], 0x451248
mov dword [edi + 0x10], 0x4512e0
mov dword [edi + 0x14], 0x4511a0
mov dword [edi + 0x18], 0x451178
mov dword [edi + 0x1c], 0x451228
mov dword [edi + 0x20], 0x451030
mov dword [edi + 0x24], 0x4512c8
mov dword [edi + 0x28], 0x4510ec
mov dword [edi + 0x2c], 0x451074
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x10
mov dword [ebp - 4], 0
call fcn.0086b8e6
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], ecx
push dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov al, byte [ebp + 8]
mov dword [ecx], 0x4511c0
mov byte [ecx + 0xc], al
mov dword [edi + 0x40], ecx
lea ecx, [edi + 0x4c]
mov byte [edi + 0x44], 0
mov dword [edi + 0x48], 0
call fcn.00862088
mov byte [ebp - 4], 1
lea ecx, [edi + 0x5c]
mov byte [edi + 0x58], 1
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x85b2bc
mov eax, dword [ecx]
jmp 0x85b2be
mov eax, ecx
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov byte [eax], 0
call fcn.0084f798
lea eax, [edi + 0x74]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x85b2e6
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0x8c]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x85b305
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0xa8]
mov word [edi + 0xa4], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x85b329
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0xc0], ecx
lea esi, [edi + 0xc4]
mov byte [ebp - 4], 6
mov dword [ebp + 8], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.00858898
mov dword [esi], eax
lea esi, [edi + 0xcc]
mov byte [ebp - 4], 7
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00858898
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xdc], eax
mov eax, edi
mov dword [edi + 0xd4], 0x3e8
mov word [edi + 0xd8], 0x100
mov byte [edi + 0xda], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x865538
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x45cc9c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x45cc9c], edx
inc eax
cmp eax, 0x270
jl 0x865549
mov dword [0x45cc98], 0x270
pop ebp
ret 8
Function at 0x869a08
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x40
jb 0x869a1f
mov eax, 0x10
pop esi
pop ebp
ret
lea eax, [ecx*8]
add dword [esi], eax
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x20], 0x80
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x38
jbe 0x869a69
cmp eax, 0x40
jae 0x869a58
lea esp, [esp]
mov byte [esi + eax + 0x20], 0
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x40
jb 0x869a48
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.00869568
mov dword [esi + 0x1c], 0
cmp dword [esi + 0x1c], 0x38
jae 0x869a89
jmp 0x869a78
mov eax, dword [esi + 0x1c]
mov byte [esi + eax + 0x20], 0
inc dword [esi + 0x1c]
cmp dword [esi + 0x1c], 0x38
jb 0x869a78
movzx eax, byte [esi + 7]
lea edx, [esi + 0x20]
mov byte [esi + 0x58], al
mov ecx, esi
movzx eax, byte [esi + 6]
mov byte [esi + 0x59], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x5a], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x5b], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x5c], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x5d], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x5e], al
movzx eax, byte [esi]
mov byte [esi + 0x5f], al
call fcn.00869568
mov ecx, dword [ebp + 0xc]
movzx eax, byte [esi + 0xb]
mov byte [ecx], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 1], al
movzx eax, byte [esi + 9]
mov byte [ecx + 2], al
movzx eax, byte [esi + 8]
mov byte [ecx + 3], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 4], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 5], al
movzx eax, byte [esi + 0xd]
mov byte [ecx + 6], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 7], al
movzx eax, byte [esi + 0x13]
mov byte [ecx + 8], al
movzx eax, byte [esi + 0x12]
mov byte [ecx + 9], al
movzx eax, byte [esi + 0x11]
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [ecx + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [ecx + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [ecx + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [ecx + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [ecx + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [ecx + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [ecx + 0x13], al
xor eax, eax
pop esi
pop ebp
ret
Function at 0x908090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x300000]
mov dword [edi + 0x39e5ec], 0xd69b3977
push edi
jmp 0x9080ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9080c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9080b0
mov eax, 1
add ebx, ebx
jne 0x9080d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9080e4
jne 0x908103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x908103
dec eax
add ebx, ebx
jne 0x9080f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9080c8
add ebx, ebx
jne 0x9080ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x908155
xor ecx, ecx
sub eax, 3
jb 0x90811b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x90818a
sar eax, 1
mov ebp, eax
jmp 0x908126
add ebx, ebx
jne 0x908126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9080f4
inc ecx
add ebx, ebx
jne 0x908134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9080f4
add ebx, ebx
jne 0x908141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x908136
jne 0x908152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x908136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x908174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x908166
jmp 0x9080b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x908174
add edi, ecx
jmp 0x9080b6
pop esi
mov edi, esi
mov ecx, 0x1739b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x908192
cmp byte [edi], 0x8f
jne 0x908192
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 0x908197
lea edi, [esi + 0x504000]
mov eax, dword [edi]
or eax, eax
je 0x90820f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5267ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x526950]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9081c4
mov ecx, edi
jns 0x9081f3
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 + 0x526954]
or eax, eax
je 0x908209
mov dword [ebx], eax
add ebx, 4
jmp 0x9081e1
call dword [esi + 0x526964]
mov ebp, dword [esi + 0x526958]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0x908243
sub esp, 0xffffff80
jmp 0x628d64
Function at 0x40cf90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x43d080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0xb192f2f7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
sub eax, 0xb192f2f7
je 0x40cfe2
jmp 0x40cfca
mov eax, dword [ebp - 0x1c]
sub eax, 0xc1df30e5
je 0x40d02c
jmp 0x40cfdd
jmp 0x40d03c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [edx], eax
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [ebp - 0xc]
mov edi, dword [edx]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x72
sub byte [edi], 0x25
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x40cfff
mov dword [ebp - 0x10], 0xc1df30e5
jmp 0x40d03c
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00426ab0
lea esp, [ebp - 4]
pop edi
pop ebp
ret
jmp 0x40cfb4
Function at 0x4273aa
Capabilities:
Parse pe header

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