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

Disassembly:
cmp dword [0x559b30], 0
push esi
jne 0x4e9a2e
call fcn.004e9959
test eax, eax
je 0x4e9a71
mov eax, dword [0x559b30]
cmp eax, 1
jne 0x4e9a4f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4e9a71
pop esi
ret
push eax
call dword [0x559b38]
test eax, eax
jne 0x4e9ab9
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4e9a75
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x559b30]
call dword [0x559b38]
mov edi, eax
test edi, edi
je 0x4e9a9c
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4e9ab8
lea edi, [esi + 0xff0]
push esi
push dword [0x559b30]
call dword [0x559b34]
add esi, 0x10
cmp esi, edi
jb 0x4e9aa2
mov eax, esi
pop edi
pop esi
ret
jmp 0x4e9a1b
Function at 0x4ec43e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4ec47b
cmp dword [ebp + 0x14], edi
je 0x4ec47b
cmp ecx, edi
jne 0x4ec482
call fcn.004f33b0
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004ec06a
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4ec496
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4ec4b7
cmp ebx, 0xffffffff
je 0x4ec4a6
push ebx
push edi
push ecx
call fcn.004ec700
add esp, 0xc
cmp esi, edi
je 0x4ec463
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4ec463
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4ec4d3
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4ec4da
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4ec5cb
test word [esi + 0xc], 0x10c
je 0x4ec52e
mov eax, dword [esi + 4]
test eax, eax
je 0x4ec52e
jl 0x4ec62c
cmp ebx, eax
mov edi, ebx
jb 0x4ec4ff
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4ec5d3
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004eb978
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4ec5c3
cmp ebx, dword [ebp - 0xc]
jb 0x4ec59b
cmp dword [ebp - 0xc], 0
je 0x4ec558
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4ec54d
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4ec554
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4ec563
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4ec563
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4ec5ff
push eax
push dword [ebp - 8]
push esi
call fcn.004eeccf
pop ecx
push eax
call fcn.004fadf6
add esp, 0xc
test eax, eax
je 0x4ec63e
cmp eax, 0xffffffff
je 0x4ec62c
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4ec5c3
push esi
call fcn.004fa715
cmp eax, 0xffffffff
pop ecx
je 0x4ec630
cmp dword [ebp - 4], 0
je 0x4ec5ff
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4ec4e2
mov eax, dword [ebp + 0x14]
jmp 0x4ec47d
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4ec5ea
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004ec700
add esp, 0xc
call fcn.004f33b0
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4ec473
cmp dword [ebp + 0xc], 0xffffffff
je 0x4ec615
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004ec700
add esp, 0xc
call fcn.004f33b0
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4ec473
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4ec47d
or dword [esi + 0xc], 0x10
jmp 0x4ec630
Function at 0x4efd0b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4efd38
call fcn.004f33c3
mov dword [eax], esi
call fcn.004f33b0
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004ec06a
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4efd14
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4efd67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f33d6
pop ecx
call fcn.004f33b0
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x4efd8e
test al, 1
je 0x4efd8e
test byte [esp + 0xc], 2
je 0x4efd8e
call fcn.004f33c3
mov dword [eax], 5
call fcn.004f33b0
mov dword [eax], 0xd
jmp 0x4efd5e
xor eax, eax
pop esi
ret

Function at 0x4f2261
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x55309c]
jne 0x4f226b
repz ret
jmp fcn.00503447

Function at 0x4f7fc8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x553c08]
je 0x4f7fe3
inc edi
cmp edi, 0x17
jb 0x4f7fd4
cmp edi, 0x17
jae 0x4f8163
push ebp
push 3
call fcn.00504fb7
cmp eax, 1
pop ecx
je 0x4f812f
push 3
call fcn.00504fb7
test eax, eax
pop ecx
jne 0x4f8017
cmp dword [0x553098], 1
je 0x4f812f
cmp ebx, 0xfc
je 0x4f8162
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x559c48
push ebp
call fcn.004efdd4
add esp, 0xc
test eax, eax
je 0x4f804d
push esi
push esi
push esi
push esi
push esi
call fcn.004ebf6e
add esp, 0x14
push 0x104
mov esi, 0x559c61
push esi
push 0
mov byte [0x559d65], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4f8091
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004efdd4
add esp, 0xc
test eax, eax
je 0x4f8091
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004ebf6e
add esp, 0x14
push esi
call fcn.004e9b50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4f80d6
push esi
call fcn.004e9b50
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x559f5c
push 0x53732c
sub ecx, eax
push ecx
push eax
call fcn.0050238c
add esp, 0x14
test eax, eax
je 0x4f80d6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004ebf6e
add esp, 0x14
jmp 0x4f80d8
xor esi, esi
push 0x537328
push ebx
push ebp
call fcn.0050231b
add esp, 0xc
test eax, eax
je 0x4f80f8
push esi
push esi
push esi
push esi
push esi
call fcn.004ebf6e
add esp, 0x14
push dword [edi*8 + 0x553c0c]
push ebx
push ebp
call fcn.0050231b
add esp, 0xc
test eax, eax
je 0x4f811a
push esi
push esi
push esi
push esi
push esi
call fcn.004ebf6e
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00504dfa
add esp, 0xc
jmp 0x4f8162
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4f8162
cmp ebp, 0xffffffff
je 0x4f8162
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x553c0c]
push dword [esi]
call fcn.004e9b50
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x504dfa
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004f7a49
xor ebx, ebx
cmp dword [0x55a6e8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x504ed0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x504fb0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x537f30
push edi
call esi
cmp eax, ebx
je 0x504fb0
push eax
call fcn.004f79db
mov dword [esp], 0x537f20
push edi
mov dword [0x55a6e8], eax
call esi
push eax
call fcn.004f79db
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x55a6ec], eax
call esi
push eax
call fcn.004f79db
mov dword [0x55a6f0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004f1da0
test eax, eax
pop ecx
pop ecx
je 0x504e9e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ebf6e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x504ed0
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004f79db
cmp eax, ebx
pop ecx
mov dword [0x55a6f8], eax
je 0x504ed0
push 0x537ed8
push edi
call esi
push eax
call fcn.004f79db
pop ecx
mov dword [0x55a6f4], eax
mov eax, dword [0x55a6f4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x504f55
cmp dword [0x55a6f8], ecx
je 0x504f55
push eax
call fcn.004f7a52
push dword [0x55a6f8]
mov esi, eax
call fcn.004f7a52
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x504f55
cmp edi, ebx
je 0x504f55
call esi
cmp eax, ebx
je 0x504f22
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x504f22
test byte [ebp - 0x18], 1
jne 0x504f55
lea eax, [ebp - 0x10]
push eax
call fcn.004f1dd7
test eax, eax
pop ecx
je 0x504f3d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ebf6e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x504f4c
or dword [ebp + 0x10], 0x200000
jmp 0x504f90
or dword [ebp + 0x10], 0x40000
jmp 0x504f90
mov eax, dword [0x55a6ec]
cmp eax, dword [ebp - 8]
je 0x504f90
push eax
call fcn.004f7a52
cmp eax, ebx
pop ecx
je 0x504f90
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x504f90
mov eax, dword [0x55a6f0]
cmp eax, dword [ebp - 8]
je 0x504f90
push eax
call fcn.004f7a52
cmp eax, ebx
pop ecx
je 0x504f90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x55a6e8]
call fcn.004f7a52
cmp eax, ebx
pop ecx
je 0x504fb0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x504fb2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1e0058fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
mov dword [ebp + 0x74], 0x1e224599
mov dword [ebp + 0x20], 0
lea eax, [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x24]
push edx
call fcn.1e005ded
add esp, 8
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x1c]
push eax
call fcn.1e005d3d
add esp, 0x10
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x54]
push edx
push 0
call dword [ebp + 0x1c]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x1c]
push eax
call fcn.1e005d3d
add esp, 0x10
mov dword [ebp + 0x18], eax
push 0x104
mov ecx, dword [ebp + 0x60]
push ecx
push 0
call dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x64]
mov dword [ebp + 0x3c], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x68], ecx

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*8 + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
jmp 0x1e005d95
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x1e005ddd
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.1e005ccd
add esp, 8
cmp eax, dword [ebp + 0x10]
jne 0x1e005ddb
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x1e005ddf
jmp 0x1e005d8c
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1e005ded
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 0xc
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x1e005e59
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call fcn.1e00586d
add esp, 4
cmp dword [ebp + 8], eax
jne 0x1e005e4f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x18]
jmp 0x1e005e5b
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x1e005e25
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1e009700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x2814]
mov ecx, dword [ebx + 0x10]
push esi
push edi
push eax
push ecx
lea edi, [ebx + 0x14]
push 1
push edi
call dword [sym.imp.MSVCR90.dll_fwrite]
mov esi, eax
mov eax, dword [ebx + 0x10]
add esp, 0x10
cmp esi, eax
jne 0x1e009758
mov dword [ebx + 0x10], 0
test esi, esi
jbe 0x1e00974f
mov edx, dword [ebx + 0x2814]
push edx
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 4
test eax, eax
jne 0x1e009771
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, esi
push eax
lea edx, [esi + ebx + 0x14]
push edx
push edi
call dword [sym.imp.MSVCR90.dll_memmove]
sub dword [ebx + 0x10], esi
add esp, 0xc
test esi, esi
jne 0x1e009739
mov eax, dword [ebx + 0xc]
push eax
call sym.python27.dll_PyString_AsString
mov ecx, dword [sym.python27.dll_PyExc_IOError]
add esp, 4
push eax
push ecx
call sym.python27.dll_PyErr_SetFromErrnoWithFilename
add esp, 8
call fcn.1e009f90
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f2e6
Capabilities:
Encode data using xor

Disassembly:
mov byte [esi + 0xa], 0x91
or eax, 0x2247a50e
mov ebp, 0x801616bd
and bh, byte [ebp - 0x7fe9e943]
dec eax
and ah, byte [ebp + 0x46910248]
add ah, byte [ecx - 0x4262c5c0]
xor al, bl
or eax, 0xbdc407a5
mov ebp, 0xbdc422a5
mov ebp, 0xbbb90284
mov esp, 0x248bcbc
mov eax, dword [0x7df0d0a8]
mov ebx, 0x48bcbcbc
add ah, byte [ecx + 0x7df0d0a8]
std
or byte [eax + 0x22], 0xa5
test byte [edx], al
mov ecx, 0xbcbcbcbb
jne 0x40f1d0
mov ebp, 0x22a5bdbd
loopne 0x40f1d8
mov ebp, 0x2875a580
movsd dword es:[edi], dword [esi]
jne 0x40f248
mov ebp, 0xbbd3a6bd
mov esp, 0xa94812bc
push cs
adc byte [eax + 2], cl
leave
inc eax
jge 0x40f1fb
inc esi
add bh, byte [ecx - 0x4225b7df]
mov ebp, 0xc048bdbd
and dword [eax - 0x43], esp
mov ebp, 0x248bdbd
lds ecx, [eax + 0x1a]
leave
sbb cl, cl
dec eax
sub bh, byte [ecx - 0x4346dfb8]
popfd
sbb byte [esi + 0x15bdc57f], al
push ss
inc esp
shl ecx, 0xbc
popfd
adc cl, byte [eax - 0x57]
push cs
push cs
adc byte [ebx], dl
adc al, 0x21
dec eax
mov ebp, 0x46bdbdbd
xor bh, byte [ecx + 0x44b50284]
scasd eax, dword es:[edi]
std
mov ebp, 0x32bcbd27
leave
mov esp, 0x32bcb532
lds esp, [ebp - 0x424127ca]
dec eax
add cl, cl
dec eax
std
rol dword [eax - 0x63], 0xba
dec eax
or cl, cl
inc esi
inc cl
and dword [eax - 6], ecx
mov ebp, 0x48bdbdbd
sbb bh, byte [ecx + 0x4621f846]
fidivr dword [ebp + 0x1cbdbdbd]
sbb ebx, dword [eax]
xchg byte [edi - 0x3b], bh
mov ebp, 0x40a94812
test eax, 0x141310c5
mov ecx, 0xf0b90246
jge 0x40f2cd
or eax, 0xb932bc0d
mov esp, 0x32bcd132
int 0xbc
xor cl, cl
leave
mov esp, 0xfba5c532
xor al, 0xbd
mov ebp, 0x46dd8140
add dh, byte [ebp + 0x48181b1c]
add dh, byte [ebp - 0x7fe55db8]
adc edi, dword [ecx - 0x361eceb8]
dec eax
or eax, ebp
invalid
pushal
mov ecx, 0x2319c
mov ah, byte [ecx + 0x400fff]
sub ah, 0xa
sub ah, 0x39
sub ah, 0x48
add ah, 0xce
mov byte [ecx + 0x400fff], ah
loop 0x4241a1
popal
jmp 0x40f21d
Function at 0x17634d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x572000]
push edi
or ebp, 0xffffffff
jmp 0x17634f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x17634f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17634e8
mov eax, 1
add ebx, ebx
jne 0x176350b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x176351c
jne 0x176353b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x176353b
dec eax
add ebx, ebx
jne 0x1763528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1763500
add ebx, ebx
jne 0x1763537
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x176358d
xor ecx, ecx
sub eax, 3
jb 0x1763553
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x17635c2
sar eax, 1
mov ebp, eax
jmp 0x176355e
add ebx, ebx
jne 0x176355e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x176352c
inc ecx
add ebx, ebx
jne 0x176356c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x176352c
add ebx, ebx
jne 0x1763579
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x176356e
jne 0x176358a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x176356e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x17635ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x176359e
jmp 0x17634ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x17635ac
add edi, ecx
jmp 0x17634ee
pop esi
mov edi, esi
mov ecx, 0xf9b0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x17635ca
cmp byte [edi], 0x8e
jne 0x17635ca
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 0x17635cf
lea edi, [esi + 0x85f000]
mov eax, dword [edi]
or eax, eax
je 0x176363e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8df7a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8df8e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x17635fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8df8ec]
or eax, eax
je 0x1763638
mov dword [ebx], eax
add ebx, 4
jmp 0x1763619
call dword [esi + 0x8df8fc]
mov ebp, dword [esi + 0x8df8f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1763672
sub esp, 0xffffff80
jmp 0x11d4eec
Function at 0x662378b9
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x662378f4
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x662378db
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x662378ec
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x662378f6
inc edi
add eax, 0x28
cmp edi, esi
jb 0x662378d1
xor eax, eax
pop edi
pop esi
ret
Function at 0x455be0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x455c02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x455c09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x455bf8
mov eax, 1
add ebx, ebx
jne 0x455c1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x455c2c
jne 0x455c4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x455c4b
dec eax
add ebx, ebx
jne 0x455c38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x455c10
add ebx, ebx
jne 0x455c47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x455c9d
xor ecx, ecx
sub eax, 3
jb 0x455c63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x455cd2
sar eax, 1
mov ebp, eax
jmp 0x455c6e
add ebx, ebx
jne 0x455c6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x455c3c
inc ecx
add ebx, ebx
jne 0x455c7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x455c3c
add ebx, ebx
jne 0x455c89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x455c7e
jne 0x455c9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x455c7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x455cbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x455cae
jmp 0x455bfe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x455cbc
add edi, ecx
jmp 0x455bfe
pop esi
mov edi, esi
mov ecx, 0x743
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x455cda
cmp byte [edi], 1
jne 0x455cda
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 0x455cdf
lea edi, [esi + 0x4f000]
mov eax, dword [edi]
or eax, eax
je 0x455d4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x55b08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x55bd0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x455d0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x55bd4]
or eax, eax
je 0x455d48
mov dword [ebx], eax
add ebx, 4
jmp 0x455d29
call dword [esi + 0x55be4]
mov ebp, dword [esi + 0x55bd8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x455d82
sub esp, 0xffffff80
jmp 0x40bbf4
Function at 0x100090f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 4], edx
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], eax
mov ebx, dword [eax + 0xc]
push edi
test ebx, ebx
je 0x10009147
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10009130
movzx eax, al
lea edi, [edi + 1]
movzx ecx, byte [eax + 0x100f77d0]
lea eax, [esi*8]
xor ecx, eax
mov al, byte [edi]
xor esi, ecx
test al, al
jne 0x10009112
mov ecx, dword [ebp - 8]
mov eax, esi
xor edx, edx
div dword [ecx]
mov esi, edx
mov edx, dword [ebp - 4]
mov edi, dword [ebx + esi*8 + 4]
mov ecx, dword [ebx + esi*8]
jmp 0x1000914d
mov edi, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax], esi
test ecx, ecx
je 0x100091ad
mov esi, dword [edi + 0xc]
dec ecx
mov dword [ebp + 8], ecx
mov bl, byte [esi]
test bl, bl
je 0x10009189
sub esi, dword [ebp - 4]
mov al, bl
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x100f77d0]
cmp al, byte [ecx + 0x100f77d0]
jne 0x10009189
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x10009168
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x100f77d0]
movzx eax, bl
movzx eax, byte [eax + 0x100f77d0]
sub eax, ecx
je 0x100091b6
mov ecx, dword [ebp + 8]
mov edi, dword [edi]
mov edx, dword [ebp - 4]
test ecx, ecx
jne 0x10009156
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret