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

Disassembly:
pushfd
push esi
push edi
mov byte [0x484433], 8
mov word [0x484431], 0xa00
mov word [0x48442f], 0x3e8
mov edx, 0
mov cl, 0x10
shl ebx, 8
test dl, cl
je 0x416d11
or ebx, 1
shl cl, 1
jne 0x416d03
mov esi, 0x4be670
mov dword [esi + edx*4], ebx
add esi, 0x400
mov dword [esi + edx*4], ebx
shl dword [esi + edx*4], 1
add esi, 0x400
mov dword [esi + edx*4], ebx
shl dword [esi + edx*4], 2
mov cl, 8
mov eax, 0
mov esi, 0x4b5670
push eax
push esi
shl eax, 3
mov dword [esi + edx*4], eax
xor eax, 0x38383838
add esi, 0x2000
mov dword [esi + edx*4], eax
pop esi
pop eax
add eax, ebx
add esi, 0x400
dec cl
jne 0x416d42
mov cl, 1
shl ebx, 8
test dl, cl
je 0x416d76
or ebx, 1
shl cl, 1
and cl, 0xf
jne 0x416d68
mov esi, 0x4be670
add esi, 0xc00
mov dword [esi + edx*4], ebx
add esi, 0x400
mov dword [esi + edx*4], ebx
shl dword [esi + edx*4], 1
add esi, 0x400
mov dword [esi + edx*4], ebx
shl dword [esi + edx*4], 2
mov cl, 8
mov eax, 0
mov esi, 0x4b5670
add esi, 0x4000
push eax
push esi
shl eax, 3
mov dword [esi + edx*4], eax
xor eax, 0x38383838
add esi, 0x2000
mov dword [esi + edx*4], eax
pop esi
pop eax
add eax, ebx
add esi, 0x400
dec cl
jne 0x416db6
inc dl
and dl, 0xff
je 0x416dea
jmp 0x416d01
mov cl, 4
shl ebx, 0x10
test dl, cl
je 0x416dfd
or ebx, 0x101
shl cl, 1
and cl, 0xf
jne 0x416dec
mov cl, 8
mov eax, 0
mov esi, 0x4bd670
push eax
push esi
push edx
shl edx, 8
add esi, edx
shl eax, 3
mov dword [esi], eax
xor eax, 0x38383838
add esi, 0x20
mov dword [esi], eax
pop edx
pop esi
pop eax
add eax, ebx
add esi, 4
dec cl
jne 0x416e10
mov cl, 1
shl ebx, 0x10
test dl, cl
je 0x416e46
or ebx, 0x101
shl cl, 1
and cl, 3
jne 0x416e35
mov cl, 8
mov eax, 0
mov esi, 0x4bd670
add esi, 0x40
push eax
push esi
push edx
shl edx, 8
add esi, edx
shl eax, 3
mov dword [esi], eax
xor eax, 0x38383838
add esi, 0x20
mov dword [esi], eax
pop edx
pop esi
pop eax
add eax, ebx
add esi, 4
dec cl
jne 0x416e5c
inc dl
and dl, 0xf
je 0x416e8f
jmp 0x416dea
mov byte [0x484428], 0
mov byte [0x484429], 0x10
mov dword [0x48442a], 0x4c1790
pop edi
pop esi
popfd
ret

Function at 0x41758f
Capabilities:
Encode data using xor

Disassembly:
push edi
xor eax, eax
mov cl, byte [0x484433]
test byte [0x484438], 8
jne 0x4175ed
test byte [0x4f46a8], 1
je 0x4175cd
mov dword [edi + 0x280], eax
mov dword [edi + 0x284], eax
add edi, 0x500
dec cl
jne 0x4175b2
jmp 0x41763a
mov eax, dword [edi]
mov dword [edi + 0x280], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x284], eax
add edi, 0x500
dec cl
jne 0x4175cd
jmp 0x41763a
mov ebx, 0x28282828
test byte [0x4f46a8], 1
je 0x41761a
mov dword [edi + 0x280], eax
mov dword [edi + 0x284], eax
add edi, 0x500
dec cl
jne 0x4175ff
jmp 0x41763a
xor dword [edi], ebx
mov eax, dword [edi]
mov dword [edi + 0x280], eax
xor dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov dword [edi + 0x284], eax
add edi, 0x500
dec cl
jne 0x41761a
pop edi
ret
Function at 0x4277a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x48d2f8
cmp edx, dword [eax]
je 0x4277c2
add eax, 8
inc ecx
cmp eax, 0x48d388
jl 0x4277b3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x48d2f8]
jne 0x4278f0
mov eax, dword [0x4db8a4]
cmp eax, 1
je 0x4278ca
test eax, eax
jne 0x4277f3
cmp dword [0x48abf4], 1
je 0x4278ca
cmp edx, 0xfc
je 0x4278f0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42782a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00421360
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00420820
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42786d
lea eax, [ebp - 0x1a4]
push eax
call fcn.00420820
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42d64c
push edi
call fcn.00420900
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00421360
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00421370
lea eax, [ebp - 0xa0]
push 0x42d62c
push eax
call fcn.00421370
push dword [esi + 0x48d2fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00421370
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042a6ad
add esp, 0x2c
pop edi
jmp 0x4278f0
lea eax, [ebp + 8]
lea esi, [esi + 0x48d2fc]
push 0
push eax
push dword [esi]
call fcn.00420820
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x101760f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102c0bb0]
jne 0x10176100
repz ret
jmp fcn.1017d512

Function at 0x1018181b
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.101747ad
and dword [ebp - 4], 0
cmp dword [0x102c23ac], 0
mov ebx, eax
jne 0x101818cc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1018197d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1018197d
push eax
call fcn.1017473b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102c23ac], eax
call esi
push eax
call fcn.1017473b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102c23b0], eax
call esi
push eax
call fcn.1017473b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102c23b4], eax
call esi
push eax
call fcn.1017473b
pop ecx
mov dword [0x102c23bc], eax
test eax, eax
je 0x101818cc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1017473b
pop ecx
mov dword [0x102c23b8], eax
mov eax, dword [0x102c23b8]
cmp eax, ebx
je 0x10181924
cmp dword [0x102c23bc], ebx
je 0x10181924
push eax
call fcn.101747b6
push dword [0x102c23bc]
mov esi, eax
call fcn.101747b6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10181924
test edi, edi
je 0x10181924
call esi
test eax, eax
je 0x1018191b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1018191b
test byte [ebp - 0xc], 1
jne 0x10181924
or dword [ebp + 0x10], 0x200000
jmp 0x1018195d
mov eax, dword [0x102c23b0]
cmp eax, ebx
je 0x1018195d
push eax
call fcn.101747b6
pop ecx
test eax, eax
je 0x1018195d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1018195d
mov eax, dword [0x102c23b4]
cmp eax, ebx
je 0x1018195d
push eax
call fcn.101747b6
pop ecx
test eax, eax
je 0x1018195d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102c23ac]
call fcn.101747b6
pop ecx
test eax, eax
je 0x1018197d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1018197f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10184dbf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x102c0134]
add ecx, 0x205c
mov dword [0x102c0130], ecx
mov dword [0x102c0134], 0x879
mov dword [ebp - 0x10], eax
call fcn.101861ed
xor ecx, ecx
mov edx, eax
mov dword [0x102c0130], 0xfffff7a8
mov esi, dword [eax + 0x3c]
mov dword [0x102c0134], 0x2416
mov dword [0x102c0130], 0x1348
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x102c0130], 0x254a
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x10184f32
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10184ec8
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10184e77
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10184f05
jmp 0x10184ed1
xor eax, eax
mov dword [0x102c0130], 0x150d
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x10184e5d
jmp 0x10184f32
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x102c0134], 0x2552
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102c0130], 0xfffff15b
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10184fda
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x102c0130], 0x204b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1029f69e]
mov dl, byte [eax + 0x1029f66f]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10184ffc
lea eax, [ebp - 0x24]
mov dword [0x102c0134], 0x1bbe
mov dword [0x102c0130], 0x14
mov dword [ebp - 0x34], eax
call fcn.1018575c
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101853ca
mov dword [0x102c0130], 0xeeb
mov dword [0x102c0134], 0xfffffe15
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10185122
mov eax, dword [ebp - 0x38]
mov dword [0x102c0130], 0x2578
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 [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1018512a
xor eax, eax
mov dword [0x102c0134], 0x145b
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x28], ecx
mov esi, dword [0x102c0134]
add esi, 0xffffec67
mov dword [0x102c0130], esi
add ecx, 0x13bf
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10185119
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10185244
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102c013c], 0
mov byte [0x102c0140], 0
mov dword [0x102c0134], 0x2449
mov dword [0x102c0130], 0x109e
mov dword [0x102c0138], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101852b2
xor eax, eax
mov dword [0x102c0138], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x1d78
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x101852fe
mov eax, dword [ebp - 0x1c]
mov dword [0x102c0134], 0x206
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102c0130]
mov esi, eax
add esi, 0xfffff9d0
mov dword [0x102c0130], esi
mov esi, dword [0x102c0138]
add esi, 1
mov dword [0x102c0138], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x101852b2
jmp 0x10185295
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x3a46
mov esi, 0x100
mov dword [0x102c0144], 0
mov edi, dword [0x102c013c]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x102c0144], ebx
mov dword [0x102c0134], ecx
mov dword [0x102c0130], 0xe04
mov eax, ebx
cdq
idiv esi
mov dword [0x102c013c], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov cl, byte [ecx + esi]
mov byte [0x102c0140], cl
mov dword [0x102c0134], 0x18fd
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102c0140]
mov edx, dword [0x102c013c]
mov byte [ebx + edx], cl
mov dword [0x102c0130], 0x169e
mov edx, dword [0x102c0138]
add edx, 1
mov dword [0x102c0138], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jl 0x101852fe
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10185e5c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [0x102c0134], 0x2455
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x102c0134], 0x15ac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x10185ec7
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x10185e9a
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [0x102c0130]
add edx, 0xffffed2c
mov dword [0x102c0130], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jne 0x10185fd0
mov dword [0x102c0130], 0x2d1a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
jne 0x10185fd0
xor eax, eax
mov dword [0x102c0130], 0x6a7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
jne 0x10185fd0
mov dword [0x102c0130], 0x468
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff6
mov dword [ebp - 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2], 0x64
mov dword [ebp - 0x20], eax
jne 0x10185fd0
xor eax, eax
mov dword [0x102c0130], 0xffffe829
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
jne 0x10185fd0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x25], dl
xor eax, eax
mov cl, byte [ebp - 0x25]
test cl, 1
mov dword [ebp - 0x20], eax
jne 0x10185fa0
jmp 0x10185fd0
xor eax, eax
mov dword [0x102c0134], 0x401
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x10185fd0
mov eax, 1
mov dword [0x102c0130], 0x2389
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop ebp
ret
Function at 0x10186358
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xffffff79
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, 0xfffff00e
mov dword [0x102c0138], 0
mov dword [0x102c013c], 0
mov dword [0x102c0148], 0
mov dword [ebp - 0x14], eax
mov eax, dword [0x102c0130]
add eax, 0xffffda0d
mov dword [0x102c0134], eax
mov dword [0x102c0130], 0x4ad
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
je 0x10186538
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov ebx, 0x6b6
mov dword [ebp - 0x40], eax
mov eax, 0x100
mov dword [0x102c0130], ecx
add edx, 1
mov dword [ebp - 0x44], eax
mov eax, edx
cdq
mov ecx, dword [ebp - 0x44]
idiv ecx
mov dword [0x102c0138], edx
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x48], edx
cdq
mov ecx, dword [ebp - 0x44]
idiv ecx
mov dword [0x102c013c], edx
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
mov cl, byte [esi + ecx]
mov byte [0x102c0140], cl
add edi, 0x1ab1
mov dword [0x102c0130], edi
mov cl, byte [esi + edx]
mov edx, dword [ebp - 0x48]
mov byte [esi + edx], cl
mov edi, dword [0x102c0134]
add edi, 0xffffe8ac
mov dword [0x102c0134], edi
mov cl, byte [0x102c0140]
mov edi, dword [0x102c013c]
mov byte [esi + edi], cl
mov edi, dword [0x102c0138]
movzx edi, byte [esi + edi]
mov ecx, dword [0x102c013c]
movzx ecx, byte [esi + ecx]
add ecx, edi
and ecx, 0xff
mov dword [0x102c0148], ecx
mov dword [0x102c0134], 0x3cd
mov dword [0x102c0130], 0x2296
mov cl, byte [esi + ecx]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
mov ch, byte [edi + edx]
mov dword [0x102c0134], 0x31f
mov byte [0x102c014d], ch
mov byte [0x102c014e], cl
xor ch, cl
mov byte [0x102c014c], ch
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x40]
mov byte [edx + esi], ch
mov dword [0x102c0130], 0xbea
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x3c], ebx
je 0x10186538
mov eax, 0xfffff74b
mov ecx, dword [0x102c0138]
mov edx, dword [0x102c013c]
mov esi, dword [0x102c0134]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], edi
jmp 0x101863ec
mov eax, dword [ebp - 0x3c]
mov dword [0x102c0130], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10186548
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x102c0130], 0x870
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x101865eb
jmp 0x101866d5
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.10184fda
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x24], eax
jmp 0x101866cd
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov dword [0x102c0134], 0x2416
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x78], edx
mov dword [0x102c0130], 0x64f
call fcn.10185e5c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10186575
jmp 0x101866cd
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x102c0134], 0xa27
mov dword [0x102c0130], 0x18d4
mov dword [esp], eax
mov dword [esp + 0x18], ecx
call fcn.10185b3e
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea eax, [0x101856f9]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x60], 0x117600
mov edx, dword [0x102c011c]
mov dword [esp + 0x74], edx
mov edx, dword [0x102c0120]
mov dword [esp + 0x88], edx
mov edx, dword [0x102c0124]
mov dword [esp + 0x8c], edx
mov edx, dword [0x102c0128]
mov dword [esp + 0x7c], edx
mov edx, dword [0x102c012c]
mov dword [esp + 0x50], edx
mov dword [0x102c0130], 0x352
mov dword [0x102c0134], 0x139f
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x101866b1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x101865ac
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
jmp 0x1018668a
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x4b8d70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2b000]
push edi
or ebp, 0xffffffff
jmp 0x4b8d92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b8d99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8d88
mov eax, 1
add ebx, ebx
jne 0x4b8dab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b8dbc
jne 0x4b8dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8dcc
dec eax
add ebx, ebx
jne 0x4b8dc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b8da0
xor ecx, ecx
sub eax, 3
jb 0x4b8de4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b8e56
sar eax, 1
mov ebp, eax
jmp 0x4b8def
add ebx, ebx
jne 0x4b8def
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4b8dfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4b8e20
inc ecx
add ebx, ebx
jne 0x4b8e0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b8e01
jne 0x4b8e1d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b8e01
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b8e40
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b8e31
jmp 0x4b8d8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b8e40
add edi, ecx
jmp 0x4b8d8e
pop esi
mov edi, esi
mov ecx, 0xb60
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b8e5e
cmp byte [edi], 9
jne 0x4b8e5e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4b8e63
lea edi, [esi + 0xb5000]
mov eax, dword [edi]
or eax, eax
je 0x4b8edb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb8d58]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb8df8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b8e90
mov ecx, edi
jns 0x4b8ebf
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 + 0xb8dfc]
or eax, eax
je 0x4b8ed5
mov dword [ebx], eax
add ebx, 4
jmp 0x4b8ead
call dword [esi + 0xb8e00]
popal
jmp section.UPX0