joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x100022de
pop dword [ebp - 0x40]
mov eax, 0xc113d044
add eax, 0x4eec529a
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xcc6986b8
sub dword [ebp - 0x50], 0x7e17416d
mov dword [ebp - 0x4c], 0xbfca4e32
sub dword [ebp - 0x4c], 0x8d9701ed
mov dword [ebp - 0x48], 0x36646fb5
add dword [ebp - 0x48], 0x15e7d479
mov dword [ebp - 0x44], 0x30667f6
add dword [ebp - 0x44], 0xfcf9980a
lea eax, [ebp - 0x50]
push eax
mov eax, 0x919f1f2f
sub eax, 0x819eef2b
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xc21dc5e4
sub dword [ebp - 0x50], 0x4dab5c8e
mov dword [ebp - 0x4c], 0xecec8990
sub dword [ebp - 0x4c], 0xab80281b
mov dword [ebp - 0x48], 0x8197a83
add dword [ebp - 0x48], 0x5b55f1e9
mov dword [ebp - 0x44], 0x8967c5a1
sub dword [ebp - 0x44], 0x8967c5a1
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x37abe
push 0
call eax
mov ecx, 0x4cbd
mov edi, eax
mov esi, 0xf3cd8cd2
add esi, 0x1c32d52e
add esi, dword [ebp - 0x40]
mov ebx, 0xdfa180a1
sub ebx, 0xaee61c7d
xor dword [ebp - 0x38], 0x2098904b
mov edx, dword [esi]
sub dword [ebp - 0x34], 0x6f7b231
sub edx, ebx
mov dword [edi], edx
mov dword [ebp - 0x18], 0xaf4d3cf
add edi, 0x360d95b
add edi, 0xfc9f26a9
add esi, 0x9e5f1a4c
add esi, 0x61a0e5b8
loop 0x100023f5
add eax, 0x2a49eea4
sub eax, 0x2a48c8dd
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe9996c89
sub ecx, 0xd9996c89
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40b15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x40b168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x40b14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x40b145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x40b145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret
Function at 0x100fc987
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102a1d98]
jne 0x100fc991
repz ret
jmp fcn.100fe65c

Function at 0x100ffc23
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100fb864
and dword [ebp - 4], 0
cmp dword [0x102a367c], 0
mov ebx, eax
jne 0x100ffcd4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100ffd85
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100ffd85
push eax
call fcn.100fb7f2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102a367c], eax
call esi
push eax
call fcn.100fb7f2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102a3680], eax
call esi
push eax
call fcn.100fb7f2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102a3684], eax
call esi
push eax
call fcn.100fb7f2
pop ecx
mov dword [0x102a368c], eax
test eax, eax
je 0x100ffcd4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100fb7f2
pop ecx
mov dword [0x102a3688], eax
mov eax, dword [0x102a3688]
cmp eax, ebx
je 0x100ffd2c
cmp dword [0x102a368c], ebx
je 0x100ffd2c
push eax
call fcn.100fb86d
push dword [0x102a368c]
mov esi, eax
call fcn.100fb86d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100ffd2c
test edi, edi
je 0x100ffd2c
call esi
test eax, eax
je 0x100ffd23
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100ffd23
test byte [ebp - 0xc], 1
jne 0x100ffd2c
or dword [ebp + 0x10], 0x200000
jmp 0x100ffd65
mov eax, dword [0x102a3680]
cmp eax, ebx
je 0x100ffd65
push eax
call fcn.100fb86d
pop ecx
test eax, eax
je 0x100ffd65
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100ffd65
mov eax, dword [0x102a3684]
cmp eax, ebx
je 0x100ffd65
push eax
call fcn.100fb86d
pop ecx
test eax, eax
je 0x100ffd65
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102a367c]
call fcn.100fb86d
pop ecx
test eax, eax
je 0x100ffd85
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100ffd87
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10100e37
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102a1320], 0
mov byte [0x102a1324], 0
mov edi, dword [0x102a1314]
add edi, 0xe84
mov dword [0x102a1318], edi
mov dword [0x102a131c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10100f22
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102a1328], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x102a1320]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102a1328], esi
mov dword [0x102a1314], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x102a1320], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102a1324], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x102a1324]
mov esi, dword [0x102a1320]
mov byte [ebx + esi], cl
mov esi, dword [0x102a131c]
add esi, 1
mov dword [0x102a131c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10100e89
jmp 0x10100f66
mov eax, dword [ebp - 0x1c]
mov dword [0x102a1318], 0x8b8
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102a131c]
add eax, 1
mov dword [0x102a131c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10100f22
xor eax, eax
mov dword [0x102a131c], 0
mov dword [ebp - 0x20], eax
jmp 0x10100e89
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1010113d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x10298869]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x102a1314], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10100d99
mov dword [0x102a1314], 0x1b9e
call fcn.101013e1
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10100c6f
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x101011ba
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov dword [0x102a1314], 0x505
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x102a1314], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10101007
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x102a1314], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x50], ecx
mov dword [0x102a1318], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x101011b0
mov eax, dword [ebp - 0x44]
add eax, 0x23e1
mov ecx, dword [0x102a1314]
add ecx, 0x2182
mov dword [0x102a1314], ecx
mov dword [ebp - 0x40], eax
jmp 0x101011b0
Function at 0x10101a69
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10101d80
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x102a1314]
add edi, 0x20f3
mov dword [0x102a1314], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x102a1318], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10101ba4
jmp 0x10101b1e
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x102a1314], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x10101ba4
mov eax, dword [ebp - 0x2c]
add eax, 1
mov cl, byte [ebp - 0x2d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x10101b4a
jmp 0x10101b73
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x2d], bh
mov byte [ebp - 0x2e], cl
jne 0x10101af4
mov al, byte [ebp - 0x2e]
test al, 1
jne 0x10101aca
jmp 0x10101b80
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x28]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
jb 0x10101b30
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10101baf
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x102a1318]
add edx, 0xffffd94f
mov dword [0x102a1314], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
jmp 0x10101c19
mov eax, 1
mov dword [0x102a1314], 0xb63
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x10101cf7
jmp 0x10101c42
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edi
je 0x10101c69
jmp 0x10101c4c
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10101cf7
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x30]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x34], eax
jl 0x10101c19
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x102a1314], ecx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x10101c42
mov dword [0x102a1318], 0x7a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10101c42
mov eax, dword [ebp - 0x2c]
add eax, 0xffffe7d7
mov dword [0x102a1314], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10101c42
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10101c42
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10101c42
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10101bf2
jmp 0x10101c42
mov eax, dword [ebp - 0x24]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x10101f29
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102a131c], 0
mov dword [0x102a1320], 0
mov dword [0x102a132c], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10102081
jmp 0x10101f9b
mov eax, dword [0x102a1320]
mov ecx, dword [0x102a131c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102a1314], 0x581
add edx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x102a131c], edx
mov dword [0x102a1318], 0x20ec
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102a1320], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102a1324], cl
mov dword [0x102a1318], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102a1324]
mov edx, dword [0x102a1320]
mov byte [ebx + edx], cl
mov edx, dword [0x102a131c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102a1320]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102a132c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x102a1318], 0x2239
mov edx, dword [0x102a1314]
add edx, 0x97e
mov dword [0x102a1314], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
jne 0x10101f84
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10102089
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x102a1314], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10101536
lea ecx, [0x10101277]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], 0x15b400
mov edx, dword [0x102a1300]
mov dword [esp + 0x40], edx
mov edx, dword [0x102a1304]
mov dword [esp + 0x50], edx
mov edx, dword [0x102a1308]
mov dword [esp + 0x3c], edx
mov edx, dword [0x102a130c]
mov dword [esp + 0x64], edx
mov edx, dword [0x102a1310]
mov dword [esp + 0x74], edx
mov dword [0x102a1318], 0x1d3f
mov dword [0x102a1314], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1010214e
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1010113d
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x101021c3
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x10102171
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10102185
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1010214e
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov dword [0x102a1314], 0x4417
mov dword [0x102a1318], 0x94b
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x4c], edx
call fcn.10101baf
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x1010211f
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x28d17c98
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x281f0158
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x5850b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x118000]
push edi
or ebp, 0xffffffff
jmp 0x5850d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5850d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5850c8
mov eax, 1
add ebx, ebx
jne 0x5850eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5850fc
jne 0x58511b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58511b
dec eax
add ebx, ebx
jne 0x585108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5850e0
add ebx, ebx
jne 0x585117
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x58516d
xor ecx, ecx
sub eax, 3
jb 0x585133
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5851a2
sar eax, 1
mov ebp, eax
jmp 0x58513e
add ebx, ebx
jne 0x58513e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58510c
inc ecx
add ebx, ebx
jne 0x58514c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58510c
add ebx, ebx
jne 0x585159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x58514e
jne 0x58516a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58514e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x58518c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x58517e
jmp 0x5850ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x58518c
add edi, ecx
jmp 0x5850ce
pop esi
mov edi, esi
mov ecx, 0x5957
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5851aa
cmp byte [edi], 0x1e
jne 0x5851aa
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 0x5851af
lea edi, [esi + 0x17c000]
mov eax, dword [edi]
or eax, eax
je 0x585227
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1901f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x190314]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5851dc
mov ecx, edi
jns 0x58520b
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 + 0x19031c]
or eax, eax
je 0x585221
mov dword [ebx], eax
add ebx, 4
jmp 0x5851f9
call dword [esi + 0x190318]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x585258
cmp al, 0xef
ja 0x58524b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x58522d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x58523a
mov ebp, dword [esi + 0x190320]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x58528c
sub esp, 0xffffff80
jmp 0x4b0f10