joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100173c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x100174a8
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x10017497
jg 0x10017400
test edx, edx
je 0x10017497
nop dword [eax]
call fcn.10018660
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10017454
jg 0x10017417
test esi, esi
je 0x10017454
cmp ebx, eax
jg 0x10017427
jl 0x10017421
cmp edi, esi
jae 0x10017427
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.100331d0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x1001747b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x10017491
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10017400
jl 0x10017491
test edi, edi
jne 0x10017400
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov edx, dword [eax]
lea eax, [ecx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
test edx, edx
je 0x100174d0
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x100174d6
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, edx
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
test edi, edi
jl 0x1001753e
jg 0x100174eb
test esi, esi
je 0x1001753e
test edx, edx
jl 0x10017539
jg 0x100174f5
test eax, eax
je 0x10017539
cmp edi, edx
jg 0x10017509
jl 0x100174ff
cmp esi, eax
jae 0x10017509
mov eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [esp + 0x24]
call fcn.100331d0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
add ebx, edx
mov ecx, dword [esp + 0xc]
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], edx
mov eax, dword [ecx + 0x20]
add dword [eax], edx
jmp 0x10017541
mov ebx, dword [ebp + 8]
jmp 0x1001754b
mov ebx, dword [ebp + 8]
test edi, edi
jl 0x10017564
jg 0x1001754b
test esi, esi
je 0x10017564
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10017564
push eax
push esi
push 1
push ebx
call fcn.10038fb8
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10017580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x100175b2
jl 0x100175a5
test ecx, ecx
jne 0x100175b2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10017672
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10018680
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1001761e
jg 0x100175dd
test esi, esi
je 0x1001761e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x100175f5
mov eax, dword [esp + 0x10]
jl 0x100175ef
cmp eax, esi
jae 0x100175f5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.100331d0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1001763f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1001765b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x100175c4
jl 0x1001765b
test ecx, ecx
jne 0x100175c4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x100176b6
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x100176b6
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.100331d0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x10017727
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100176dc
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x10017712
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.100395ae
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10017727
cmp edi, eax
ja 0x100176f0
test edi, edi
je 0x10017727
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.100395ae
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10017a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1006b048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10017aa0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031b80
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10017adc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10017adc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031b80
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10017bc4
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10017b04
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10017b37
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.10038576
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031b80
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10017b97
sub eax, 1
je 0x10017b97
sub eax, 2
jne 0x10017bc4
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10016b60
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031b80
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10017bb4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10038fb8
add esp, 0x10
cmp edi, eax
jne 0x10017bc4
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x10017ac7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10031b80
mov esp, ebp
pop ebp
ret 4
Function at 0x10018390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1006b048]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1001844c
cmp byte [esi + 0x3d], 0
je 0x1001844c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1001843a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10018402
sub eax, 1
je 0x10018406
sub eax, 2
jne 0x1001843a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031b80
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10018423
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10038fb8
add esp, 0x10
cmp edi, eax
jne 0x1001843a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031b80
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031b80
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10031b80
mov esp, ebp
pop ebp
ret

Function at 0x100189d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051d50
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1006b048]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10031b8e
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10030a76
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019580
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x100951c0
call fcn.10009d70
push 0x100951c0
push 0x100637c8
push 1
push 0x100937f0
call fcn.10016f40
add esp, 0x1c
push 0xfffffffffffffff0
push dword [0x1c9055c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
je 0x10019618
push 0
push 0xf020
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 6
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41010
push str.CLEO_error
push 0x100951c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xf120
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
push 0x41010
push str.CLEO_error
push 0x100951c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
ret

Function at 0x10019ea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006b048]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.Injecting_MenuStatusNotifier...
push 3
call fcn.10019810
mov esi, dword [0x10093a84]
add esp, 8
mov eax, dword [esi*4 + 0x1006ba00]
mov esi, dword [esi*4 + 0x1006bac8]
mov dword [0x1008dc90], eax
inc esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi]
add esi, 4
add eax, esi
mov esi, dword [0x10093a84]
mov dword [0x1008dc94], eax
mov esi, dword [esi*4 + 0x1006bac8]
push esi
push str.Replacing_call:_0x_08X
push 3
call fcn.10019810
lea ecx, [esi + 1]
mov byte [esi], 0xe8
mov eax, 0x10019850
add esp, 0xc
sub eax, ecx
sub eax, 4
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10031b80
mov esp, ebp
pop ebp
ret 4
Function at 0x10021f00
Capabilities:
Access peb ldr_data
Create thread
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10052abe
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1006b048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
push 0xa0
mov dword [esi + 4], 0
call fcn.10031b8e
add esp, 4
mov dword [esi + 4], eax
lea esi, [eax + 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov dword [ebp - 0x18], esi
push dword [eax]
call fcn.1000aec0
lea edi, [esi + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x24], edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x24]
mov dword [ebp - 0x14], esi
push 0x44
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10031b8e
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x2c], 0
lea eax, [edi + 0x3c]
push 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
push eax
mov word [edi + 0x38], 1
call fcn.10031155
push 8
mov byte [ebp - 4], 6
call fcn.10031b8e
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], 0x10020060
lea esi, [edi + 0x70]
mov byte [ebp - 4], 7
push esi
push 0
push eax
push 0x10022190
push 0
push 0
call fcn.1003a0af
add esp, 0x28
mov dword [edi + 0x6c], eax
test eax, eax
je 0x10022088
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [ecx + 4], edx
mov ecx, dword [eax + 4]
mov dword [ecx + 8], edx
mov ecx, dword [eax + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [eax + 4]
mov byte [ecx + 0xd], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10031b80
mov esp, ebp
pop ebp
ret 0x14
push 6
mov dword [esi], 0
call fcn.10030e4a
int3
Function at 0x1002ad10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x100965e8
call fcn.10009d70
push 0x100965e8
push 0x100637c8
push 1
push 0x100937f0
call fcn.10016f40
add esp, 0x1c
push 0xfffffffffffffff0
push dword [0x1c9055c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
je 0x1002ada8
push 0
push 0xf020
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 6
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41010
push str.CLEO_error
push 0x100965e8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xf120
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
push 0x41010
push str.CLEO_error
push 0x100965e8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
ret

Function at 0x1002fb10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x10096de8
call fcn.10009d70
push 0x10096de8
push 0x100637c8
push 1
push 0x100937f0
call fcn.10016f40
add esp, 0x1c
push 0xfffffffffffffff0
push dword [0x1c9055c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
je 0x1002fba8
push 0
push 0xf020
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 6
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41010
push str.CLEO_error
push 0x10096de8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xf120
push 0x112
push 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
push 0x41010
push str.CLEO_error
push 0x10096de8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
ret
Function at 0x1002fbf0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053c3f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1006b048]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
push 0x20
movzx eax, word [esi + 0xdd]
mov word [edi], ax
mov byte [edi + 4], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
call fcn.10031b8e
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xb4], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0xc4], 0
movups xmmword [edi + 0xc8], xmm0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0xf
mov byte [edi + 0xc8], 0
movups xmmword [edi + 0xe0], xmm0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0xf
mov byte [edi + 0xe0], 0
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
lea eax, [esi + 0x18]
push 0x20
push eax
lea eax, [edi + 0x10]
push eax
call fcn.100331d0
movzx eax, word [esi + 0x38]
add esp, 0x10
mov word [edi + 0x30], ax
cmp byte [esi + 0xdc], 0
mov eax, dword [sym.CLEO.asi_missionLocals]
jne 0x1002fce3
lea eax, [esi + 0x3c]
push 0x80
push eax
lea eax, [edi + 0x34]
push eax
call fcn.100331d0
movzx eax, byte [esi + 0xc5]
add esp, 0xc
mov byte [edi + 0xbc], al
mov ax, word [esi + 0xd0]
mov word [edi + 0xbe], ax
movzx eax, byte [esi + 0xd2]
mov byte [edi + 0xc0], al
cmp byte [esi + 0xdf], 0
jne 0x1002fd3b
cmp dword [0x10093ac8], 0x10
mov ecx, 0x10093ab4
cmovae ecx, dword [0x10093ab4]
jmp 0x1002fd4c
cmp dword [esi + 0x148], 0x10
lea ecx, [esi + 0x134]
jb 0x1002fd4c
mov ecx, dword [ecx]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1002fd54
sub edx, dword [ebp - 0x10]
push edx
push ecx
lea ecx, [edi + 0xc8]
call fcn.10015a80
cmp byte [esi + 0xdf], 0
jne 0x1002fd89
cmp dword [0x10093ae0], 0x10
mov ecx, 0x10093acc
cmovae ecx, dword [0x10093acc]
jmp 0x1002fd9a
cmp dword [esi + 0x160], 0x10
lea ecx, [esi + 0x14c]
jb 0x1002fd9a
mov ecx, dword [ecx]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1002fda2
sub edx, dword [ebp - 0x10]
push edx
push ecx
lea ecx, [edi + 0xe0]
call fcn.10015a80
movzx ecx, word [0x100936d0]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
movups xmmword [esi + 0x28], xmm0
mov word [esi + 0x38], ax
mov byte [esi + 0xc5], al
mov word [esi + 0xd0], ax
mov byte [esi + 0xd2], al
mov eax, edi
mov word [edi + 2], cx
mov word [esi + 0xdd], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002ffb2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1002ff8e
pop esi
leave
ret 8

Function at 0x1004400e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10043e84

Function at 0x10050be0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10050c0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10050c0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x6e92b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19c000]
push edi
or ebp, 0xffffffff
jmp 0x6e92d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6e92d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e92c8
mov eax, 1
add ebx, ebx
jne 0x6e92eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6e92fc
jne 0x6e931b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e931b
dec eax
add ebx, ebx
jne 0x6e9308
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6e92e0
add ebx, ebx
jne 0x6e9317
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6e936d
xor ecx, ecx
sub eax, 3
jb 0x6e9333
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6e93a2
sar eax, 1
mov ebp, eax
jmp 0x6e933e
add ebx, ebx
jne 0x6e933e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e930c
inc ecx
add ebx, ebx
jne 0x6e934c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e930c
add ebx, ebx
jne 0x6e9359
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6e934e
jne 0x6e936a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6e934e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6e938c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6e937e
jmp 0x6e92ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6e938c
add edi, ecx
jmp 0x6e92ce
pop esi
mov edi, esi
mov ecx, 0x8084
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6e93aa
cmp byte [edi], 0x22
jne 0x6e93aa
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 0x6e93af
lea edi, [esi + 0x2e5000]
mov eax, dword [edi]
or eax, eax
je 0x6e9427
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2eb354]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2eb4d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6e93dc
mov ecx, edi
jns 0x6e940b
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 + 0x2eb4d4]
or eax, eax
je 0x6e9421
mov dword [ebx], eax
add ebx, 4
jmp 0x6e93f9
call dword [esi + 0x2eb4e4]
mov ebp, dword [esi + 0x2eb4d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6e945b
sub esp, 0xffffff80
jmp 0x526dd9

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx