joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1005f064]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x10087fb8
call fcn.10009d10
push 0x10087fb8
push 0x10059670
push 1
push 0x10087900
call fcn.10016a60
add esp, 0x1c
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHQueryUserNotificationState]
mov eax, dword [ebp - 8]
cmp eax, 2
je 0x1000a8dc
cmp eax, 3
je 0x1000a8dc
cmp eax, 4
je 0x1000a8dc
push 0x41010
push str.CLEO_error
push 0x10087fb8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret
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 0x10087fb8
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]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret

Function at 0x1000b7c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1005f064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp byte [eax], 0
jne 0x1000b8e3
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov ecx, dword [esi + 0x3c]
add ecx, esi
movzx ebx, word [ecx + 0x14]
movzx eax, word [ecx + 6]
add ebx, 0x18
add ebx, ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000b8db
push edi
nop dword [eax + eax]
mov ecx, str..text
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b837
test dl, dl
je 0x1000b833
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b837
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000b817
xor eax, eax
jmp 0x1000b83c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000b870
mov eax, 0x10058340
mov ecx, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000b867
test dl, dl
je 0x1000b863
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000b867
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000b847
xor eax, eax
jmp 0x1000b86c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000b8c8
mov edi, dword [ebx + 8]
add edi, 0xfff
and edi, 0xfffff000
push edi
push dword [ebx + 0xc]
push ebx
push str.Unprotecting_memory_region__s:_0x_08X__size:_0x_08X_
push 3
call fcn.1000a820
mov eax, dword [ebx + 0x24]
lea ecx, [ebp - 8]
and eax, 0x20000000
add esp, 0x14
neg eax
sbb eax, eax
and eax, 0x3c
add eax, 4
push ecx
push eax
mov eax, dword [ebx + 0xc]
push edi
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000b8c8
push str.Virtual_protect_error
call fcn.1000a860
add esp, 4
mov edx, dword [ebp - 0xc]
add ebx, 0x28
dec edx
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x1000b810
pop edi
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
mov byte [eax], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret
Function at 0x1000bc70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1005f064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.1000b930
mov ecx, dword [0x100617c8]
mov esi, eax
test cl, 1
jne 0x1000bcbf
or ecx, 1
mov dword [0x100617cc], 0x100583c4
mov dword [0x100617c8], ecx
mov dword [0x100617d4], 0
mov dword [0x100617d0], 0
call fcn.1000ba30
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000bcfb
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002a40b
mov esp, ebp
pop ebp
ret

Function at 0x1000bd10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1005f064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov bl, byte [esi]
test eax, eax
je 0x1000bd61
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1002a40b
mov esp, ebp
pop ebp
ret

Function at 0x1000c3b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1005f064]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x100889d0
call fcn.10009d10
add esp, 0xc
push 0x100889d0
push 0x10059670
push 1
push 0x10087900
call fcn.10016a60
add esp, 0x10
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHQueryUserNotificationState]
mov eax, dword [ebp - 8]
cmp eax, 2
je 0x1000c42f
cmp eax, 3
je 0x1000c42f
cmp eax, 4
je 0x1000c42f
push 0x41010
push str.CLEO_error
push 0x100889d0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret
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 0x100889d0
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]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret
Function at 0x1000dd10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1005f064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.Injecting_CustomOpcodeSystem...
push 3
call fcn.1000c310
mov eax, dword [0x10087bbc]
mov esi, 0x10081d30
add esp, 8
mov edx, 0x1b
mov eax, dword [eax*4 + 0x1005ff98]
sub esi, eax
nop dword [eax]
mov ecx, dword [eax]
lea eax, [eax + 4]
mov dword [esi + eax - 4], ecx
mov dword [eax - 4], 0x1000d110
sub edx, 1
jne 0x1000dd50
mov eax, 0x1000d110
mov ecx, 0x148
mov edi, 0x10081800
rep stosd dword es:[edi], eax
mov eax, dword [0x10087bbc]
mov eax, dword [eax*4 + 0x1005ffac]
mov dword [eax], 0x10081800
mov dword [0x469ef0], 0x10081800
mov ecx, dword [0x10087bbc]
mov eax, dword [ecx*4 + 0x1005fffc]
mov dword [0x100817f8], eax
mov eax, dword [ecx*4 + 0x10060038]
mov dword [0x100817ec], eax
mov eax, dword [ecx*4 + 0x10060074]
mov dword [0x100817f4], eax
mov eax, dword [ecx*4 + 0x10060088]
mov dword [0x10081d9c], eax
test ecx, ecx
jne 0x1000de53
mov eax, dword [0x100617c8]
test al, 1
jne 0x1000ddfc
or eax, 1
mov dword [0x100617cc], 0x100583c4
mov dword [0x100617c8], eax
mov dword [0x100617d4], ecx
mov dword [0x100617d0], ecx
call fcn.1000ba30
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
mov esi, 0x583a07
mov dword [ebp - 0x14], 4
push 4
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000de3b
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov dword [0x10081d20], esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx*4 + 0x1006004c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x10081d20], eax
pop esi
call fcn.1002a40b
mov esp, ebp
pop ebp
ret 4
Function at 0x100170b0
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 0x100170e2
jl 0x100170d5
test ecx, ecx
jne 0x100170e2
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 0x100171a2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.100181e0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1001714e
jg 0x1001710d
test esi, esi
je 0x1001714e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x10017125
mov eax, dword [esp + 0x10]
jl 0x1001711f
cmp eax, esi
jae 0x10017125
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.1002ba60
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 0x1001716f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1001718b
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 0x100170f4
jl 0x1001718b
test ecx, ecx
jne 0x100170f4
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 0x100171e6
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x100171e6
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.1002ba60
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 0x10017257
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1001720c
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 0x10017242
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10032c33
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10017257
cmp edi, eax
ja 0x10017220
test edi, edi
je 0x10017257
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10032c33
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 0x100183a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048ca0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1005f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push 8
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002a419
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100295e3
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.100184b0
mov eax, dword [ebp - 0x10]
lea ebx, [edi + 4]
mov dword [edi + 0xc], ebx
lea esi, [edi + 8]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea ecx, [eax + 0x18]
mov byte [edi + 0x48], 0
lea edx, [eax + 0x24]
mov byte [edi + 0x3d], 0
mov dword [edi + 0x10], esi
add edi, 0x14
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 dword [eax + 0x4c], 0
mov ecx, dword [0x10087fa4]
mov edx, dword [0x10087fa8]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 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 0x10019160
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1005f064]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x100892f0
call fcn.10009d10
push 0x100892f0
push 0x10059670
push 1
push 0x10087900
call fcn.10016a60
add esp, 0x1c
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHQueryUserNotificationState]
mov eax, dword [ebp - 8]
cmp eax, 2
je 0x100191dc
cmp eax, 3
je 0x100191dc
cmp eax, 4
je 0x100191dc
push 0x41010
push str.CLEO_error
push 0x100892f0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret
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 0x100892f0
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]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret
Function at 0x10019aa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1005f064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.Injecting_MenuStatusNotifier...
push 3
call fcn.10019410
mov esi, dword [0x10087bbc]
add esp, 8
mov eax, dword [esi*4 + 0x1005fb10]
mov esi, dword [esi*4 + 0x1005fbd8]
mov dword [0x10081da0], 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 [0x10087bbc]
mov dword [0x10081da4], eax
mov esi, dword [esi*4 + 0x1005fbd8]
push esi
push str.Replacing_call:_0x_08X
push 3
call fcn.10019410
lea ecx, [esi + 1]
mov byte [esi], 0xe8
mov eax, 0x10019450
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.1002a40b
mov esp, ebp
pop ebp
ret 4
Function at 0x10023970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049a08
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push esi
push edi
mov eax, dword [0x1005f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 4], 0
jne 0x10023ba3
mov eax, dword [0x100857b0]
test eax, eax
je 0x10023ba3
cmp dword [eax], 0
je 0x10023ba3
mov eax, dword [0x10087844]
mov byte [esi + 4], 1
cmp byte [eax], 0
jne 0x10023a9d
mov byte [ebp - 0x10], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x10]
mov edx, 0x10087d4c
call fcn.1000b600
mov byte [ebp - 0x10], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10028460
add esp, 8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000a540
mov byte [ebp - 4], 0
mov edi, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x10023a4b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023a41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023bb4
push ecx
push edx
call fcn.1002a763
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x44]
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x18], 7
call fcn.1000b140
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0x2c]
call fcn.100152f0
lea ecx, [ebp - 0x44]
call fcn.1000ac20
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.1000a7c0
mov eax, str.main.scm
mov ecx, 8
jmp 0x10023b2d
call dword [0x100817f8]
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x14], eax
call fcn.10015830
mov dword [ebp - 4], 2
mov eax, dword [0x10087844]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x8c]
push str.MPACKMPACK_d
push eax
call fcn.10016a10
add esp, 0x10
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.10027390
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.1000b140
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x2c]
call fcn.100152f0
lea ecx, [ebp - 0x2c]
call fcn.1000ac20
lea ecx, [ebp - 0x8c]
call fcn.1000ac20
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.1000a7c0
mov eax, str.scr.scm
mov ecx, 7
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10015370
cmp dword [0x10087da8], 0x10
mov eax, 0x10087d94
cmovae eax, dword [0x10087d94]
push eax
push 0
push str.DebugMode
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
lea ecx, [esi + 0x5c]
setne al
mov byte [esi + 0x28], al
cmp ecx, 0x10087d7c
je 0x10023b8f
cmp dword [0x10087d90], 0x10
mov eax, 0x10087d7c
push dword [0x10087d8c]
cmovae eax, dword [0x10087d7c]
push eax
call fcn.10015370
push dword [0x10087c60]
mov ecx, esi
call fcn.10023ec0
mov ecx, esi
call fcn.10023bc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100312a7
int3
Function at 0x10028690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1005f064]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x1008a300
call fcn.10009d10
push 0x1008a300
push 0x10059670
push 1
push 0x10087900
call fcn.10016a60
add esp, 0x1c
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHQueryUserNotificationState]
mov eax, dword [ebp - 8]
cmp eax, 2
je 0x1002870c
cmp eax, 3
je 0x1002870c
cmp eax, 4
je 0x1002870c
push 0x41010
push str.CLEO_error
push 0x1008a300
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret
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 0x1008a300
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]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a40b
mov esp, ebp
pop ebp
ret
Function at 0x10028790
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a0ff
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1005f064]
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.1002a419
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.1002ba60
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 0x10028883
lea eax, [esi + 0x3c]
push 0x80
push eax
lea eax, [edi + 0x34]
push eax
call fcn.1002ba60
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 0x100288db
cmp dword [0x10087c00], 0x10
mov ecx, 0x10087bec
cmovae ecx, dword [0x10087bec]
jmp 0x100288ec
cmp dword [esi + 0x148], 0x10
lea ecx, [esi + 0x134]
jb 0x100288ec
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 0x100288f4
sub edx, dword [ebp - 0x10]
push edx
push ecx
lea ecx, [edi + 0xc8]
call fcn.10015370
cmp byte [esi + 0xdf], 0
jne 0x10028929
cmp dword [0x10087c18], 0x10
mov ecx, 0x10087c04
cmovae ecx, dword [0x10087c04]
jmp 0x1002893a
cmp dword [esi + 0x160], 0x10
lea ecx, [esi + 0x14c]
jb 0x1002893a
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 0x10028942
sub edx, dword [ebp - 0x10]
push edx
push ecx
lea ecx, [edi + 0xe0]
call fcn.10015370
movzx ecx, word [0x100877e0]
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 0x10028b52
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.10028b2e
pop esi
leave
ret 8

Function at 0x10035274
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100352b3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100352b3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100352b3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100352b3
cmp dword [ecx + 0x74], 0xe
jbe 0x100352b3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1003a8e7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10050980
push 0x10050978
push str.FlsAlloc
push 0x1f
call fcn.1003a7af
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003a91b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004c1b0]
call esi
jmp 0x1003a921
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1003a965
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10050990
push 0x10050988
push str.FlsGetValue
push 0x21
call fcn.1003a7af
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003a99c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004c1b0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1003a9a4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10050998
push 0x10050990
push str.FlsSetValue
push 0x22
call fcn.1003a7af
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003a9de
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1004c1b0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]