joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100068d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015fe1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10021040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x34]
mov dword [ebp - 4], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDateTime::destructor_void_]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test byte [ebp + 8], 1
je 0x10006941
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a9c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016a62
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10021040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov esi, 1
mov edi, dword [ebp + 8]
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov ecx, eax
mov dword [edi], eax
mov eax, esi
lock xadd dword [ecx], eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDateTime::constructor_void_]
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov ecx, eax
mov dword [edi + 0x30], eax
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [sym.imp.QtCore4.dll_struct_QByteArray::Data_QByteArray::shared_null]
mov dword [edi + 0x34], eax
lock xadd dword [eax], esi
inc esi
cmp byte [ebp + 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
je 0x1000aa50
mov ecx, dword [ebp + 0xc]
push edi
call sym.quazip.dll_public:_bool___thiscall_QuaZip::getCurrentFileInfo_struct_QuaZipFileInfo64__const
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
jmp 0x1000aa7f
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 8], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 4], eax
push dword [ebp + 0x14]
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000e030
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10017379
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10021040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov esi, 1
mov dword [ebx], eax
mov edx, eax
mov eax, esi
lock xadd dword [edx], eax
lea edi, [ebx + 4]
mov dword [ebp - 4], 0
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDateTime::constructor_void_]
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov ecx, eax
mov dword [ebx + 0x10], eax
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [sym.imp.QtCore4.dll_struct_QByteArray::Data_QByteArray::shared_null]
mov ecx, eax
mov dword [ebx + 0x14], eax
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [sym.imp.QtCore4.dll_struct_QByteArray::Data_QByteArray::shared_null]
mov dword [ebx + 0x18], eax
lock xadd dword [eax], esi
inc esi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
push ebx
mov byte [ebp - 4], 4
call esi
lea eax, [ebx + 0xc]
mov ecx, edi
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QDateTime____thiscall_QDateTime::operator_class_QDateTime_const__]
mov edx, dword [ebp - 0x10]
mov ax, word [ebx + 0x2a]
mov word [edx + 8], ax
lea ecx, [edx + 0x10]
mov eax, dword [ebx + 0x2c]
mov dword [edx + 0xc], eax
lea eax, [ebx + 0x30]
push eax
call esi
mov ecx, dword [ebp - 0x10]
lea edi, [ebx + 0x34]
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray_const__]
push edi
lea ecx, [ecx + 0x14]
call esi
push edi
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 0x18]
call esi
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x1c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000ede0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0x23456789
mov dword [eax + 8], 0x34567890
mov cl, byte [ebx]
test cl, cl
je 0x1000ee60
push esi
push edi
mov edi, dword [eax + 4]
mov esi, 0x34567890
mov edi, edi
mov edx, dword [eax]
lea ebx, [ebx + 1]
mov eax, dword [ebp + 0x10]
movsx ecx, cl
xor ecx, edx
shr edx, 8
and ecx, 0xff
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp + 0xc]
xor ecx, edx
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
movzx ecx, cl
add ecx, edi
imul edi, ecx, 0x8088405
inc edi
mov ecx, edi
mov dword [eax + 4], edi
shr ecx, 0x18
xor ecx, esi
shr esi, 8
and ecx, 0xff
xor esi, dword [edx + ecx*4]
mov dword [eax + 8], esi
mov cl, byte [ebx]
test cl, cl
jne 0x1000ee10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10010d70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, ecx
xor eax, dword [ebp + 0x10]
and eax, 0xff
shr ecx, 8
mov eax, dword [edx + eax*4]
xor eax, ecx
mov ecx, dword [edi + 8]
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], ecx
pop edi
pop ebp
ret
Function at 0x100124c0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp dword [esi + 0x100ac], ebx
je 0x10012570
cmp dword [esi + 0x7c], ebx
jbe 0x10012570
mov eax, 0xffffff5c
lea ebx, [esi + 0xa4]
sub eax, esi
mov dword [ebp + 8], eax
movzx eax, byte [ebx]
mov ecx, dword [esi + 0x100d0]
xor eax, ecx
mov edx, dword [esi + 0x100dc]
and eax, 0xff
mov edi, dword [esi + 0x100d8]
shr ecx, 8
and edi, 0xfffd
or edi, 2
mov eax, dword [edx + eax*4]
xor eax, ecx
mov dword [esi + 0x100d0], eax
movzx eax, al
add eax, dword [esi + 0x100d4]
imul ecx, eax, 0x8088405
mov eax, dword [esi + 0x100d8]
inc ecx
mov dword [esi + 0x100d4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [edx + ecx*4]
mov dword [esi + 0x100d8], eax
mov eax, edi
xor eax, 1
imul eax, edi
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [ebp + 8]
add eax, ebx
cmp eax, dword [esi + 0x7c]
jb 0x100124f0
xor ebx, ebx
mov edi, dword [esi + 0x7c]
lea eax, [esi + 0xa4]
push edi
push eax
push dword [esi + 0x30]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
mov dword [esi + 0x7c], 0
or ecx, 0xffffffff
cmp eax, edi
cmovne ebx, ecx
add dword [esi + 0x100c0], edi
mov ecx, dword [esi + 0x48]
mov eax, ebx
adc dword [esi + 0x100c4], 0
add dword [esi + 0x100c8], ecx
pop edi
adc dword [esi + 0x100cc], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
pop ebp
ret
Function at 0x5dd100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbe000]
push edi
or ebp, 0xffffffff
jmp 0x5dd122
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5dd129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5dd118
mov eax, 1
add ebx, ebx
jne 0x5dd13b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5dd130
jne 0x5dd14c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5dd130
xor ecx, ecx
sub eax, 3
jb 0x5dd160
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5dd1d2
mov ebp, eax
add ebx, ebx
jne 0x5dd16b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5dd178
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5dd19c
inc ecx
add ebx, ebx
jne 0x5dd188
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5dd17d
jne 0x5dd199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5dd17d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5dd1bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5dd1ad
jmp 0x5dd11e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5dd1bc
add edi, ecx
jmp 0x5dd11e
pop esi
mov edi, esi
mov ecx, 0x42c8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5dd1da
cmp byte [edi], 0x13
jne 0x5dd1da
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 0x5dd1df
lea edi, [esi + 0x1da000]
mov eax, dword [edi]
or eax, eax
je 0x5dd257
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e2d08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e2e48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5dd20c
mov ecx, edi
jns 0x5dd23b
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 + 0x1e2e4c]
or eax, eax
je 0x5dd251
mov dword [ebx], eax
add ebx, 4
jmp 0x5dd229
call dword [esi + 0x1e2e5c]
mov ebp, dword [esi + 0x1e2e50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5dd28b
sub esp, 0xffffff80
jmp 0x48cb3e

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
Function at 0x100717e
Capabilities:
Check if file exists
Copy file
Get common file path
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x1017484]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x62c], eax
mov eax, dword [ebp + 0x14]
test eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x628], edi
mov dword [ebp - 0x624], eax
je 0x10071bb
cmp word [eax], 0
jne 0x10071c1
mov dword [ebp - 0x624], edi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x620], 0x104
sub dword [ebp - 0x620], eax
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push eax
call esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call edi
cmp dword [ebp + 0x20], 0
jne 0x1007229
push dword [ebp - 0x620]
lea eax, [ebp - 0x414]
push dword [ebp - 0x62c]
push eax
call esi
push dword [ebp - 0x624]
lea eax, [ebp - 0x414]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1007272
push 0x104
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push dword [ebp - 0x620]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
push dword [ebp - 0x628]
lea eax, [ebp - 0x20c]
push eax
call edi
xor esi, esi
cmp dword [ebp + 0x20], esi
je 0x1007293
push dword [ebp - 0x624]
lea eax, [ebp - 0x20c]
push eax
push dword [0x101a3b8]
call fcn.01014a9b
jmp 0x10072a8
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp + 0x24], esi
pop edi
pop esi
jne 0x10072b2
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
call fcn.01012bde
leave
ret 0x20
Function at 0x1014db6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1017484]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 4], eax
jne 0x1014df0
test esi, esi
jne 0x1014ddd
xor eax, eax
jmp 0x1014e49
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x1014e49
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call ebx
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x1014e1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1014e32
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x50
pop ecx
lea esi, [ebp - 0x144]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push dword [ebp - 0x148]
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01012bde
leave
ret 8

Function at 0x1014e8e
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 1
call fcn.01014016
mov edi, eax
mov al, byte [edi + 1]
cmp al, 0x3a
jne 0x1014ebf
cmp byte [edi + 2], 0x5c
jne 0x1014ebf
push 0x5c
lea eax, [edi + 3]
push eax
jmp 0x1014ef5
cmp byte [edi], 0x5c
jne 0x1014ef2
cmp al, 0x5c
jne 0x1014ef2
mov esi, dword [sym.imp.msvcrt.dll__mbschr]
lea eax, [edi + 2]
push 0x5c
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1014f68
inc eax
push 0x5c
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1014f68
push 0x5c
inc eax
push eax
jmp 0x1014efb
push 0x5c
push edi
mov esi, dword [sym.imp.msvcrt.dll__mbschr]
call esi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x1014f68
push 0
push edi
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1014f2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1014f3f
mov dword [ebp - 4], 1
mov byte [ebx], 0x5c
push 0x5c
inc ebx
push ebx
call esi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x1014f05
jmp 0x1014f62
push dword [0x101eef8]
call sub.LOG.dll_LogBegin
push edi
push 0x1002e30
push 0x1002e28
call sub.LOG.dll_LogA
add esp, 0xc
call sub.LOG.dll_LogEnd
cmp dword [ebp - 4], 0
je 0x1014f92
cmp dword [ebp + 0xc], 0
je 0x1014f92
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1014f92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1014f92
mov dword [ebp - 4], 1
push edi
push 0
call fcn.01013e1e
cmp dword [ebp - 4], 0
jne 0x1014fca
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1014fa3
sub edi, ecx
cmp edi, 0xf8
jb 0x1014fca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x1014fca
push 0xce
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1014fd9
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1017484]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x210]
push eax
mov esi, 0x20a
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xor ebx, ebx
cmp eax, ebx
je 0x1015075
cmp eax, esi
ja 0x1015075
lea eax, [ebp - 0x210]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll__mbsrchr]
cmp eax, ebx
pop ecx
pop ecx
je 0x1015034
cmp byte [eax + 1], bl
jne 0x1015034
mov byte [eax], bl
push ebx
lea eax, [ebp - 0x210]
push eax
call fcn.01014db6
test eax, eax
jne 0x1015053
push 1
lea eax, [ebp - 0x210]
push eax
call fcn.01014e8e
cmp dword [ebp + 0xc], 0x104
jb 0x1015086
push dword [ebp - 0x420]
lea eax, [ebp - 0x210]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x10150dc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01012bde
leave
ret 0xc
lea eax, [ebp - 0x41c]
push eax
push ebx
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x10150a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1015075
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10150b1
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, dword [ebp + 0xc]
ja 0x1015075
mov edi, dword [ebp - 0x420]
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x41c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
inc eax
jmp 0x1015077

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
Function at 0x1000a910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006c064]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x10094ee0
call fcn.10009dc0
push 0x10094ee0
push 0x10064810
push 1
push 0x10094818
call fcn.100171b0
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 0x1000a98c
cmp eax, 3
je 0x1000a98c
cmp eax, 4
je 0x1000a98c
push 0x41010
push str.CLEO_error
push 0x10094ee0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10032bd5
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 0x10094ee0
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.10032bd5
mov esp, ebp
pop ebp
ret

Function at 0x1000b870
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1006c064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp byte [eax], 0
jne 0x1000b993
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 0x1000b98b
push edi
nop dword [eax + eax]
mov ecx, str..text
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b8e7
test dl, dl
je 0x1000b8e3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b8e7
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000b8c7
xor eax, eax
jmp 0x1000b8ec
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000b920
mov eax, 0x10063420
mov ecx, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000b917
test dl, dl
je 0x1000b913
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000b917
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000b8f7
xor eax, eax
jmp 0x1000b91c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000b978
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.1000a8d0
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 0x1000b978
push str.Virtual_protect_error
call fcn.1000a910
add esp, 4
mov edx, dword [ebp - 0xc]
add ebx, 0x28
dec edx
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x1000b8c0
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.10032bd5
mov esp, ebp
pop ebp
ret
Function at 0x1000bd20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006c064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.1000b9e0
mov ecx, dword [0x1006e6d0]
mov esi, eax
test cl, 1
jne 0x1000bd6f
or ecx, 1
mov dword [0x1006e6d4], 0x100634a4
mov dword [0x1006e6d0], ecx
mov dword [0x1006e6dc], 0
mov dword [0x1006e6d8], 0
call fcn.1000bae0
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 0x1000bdab
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.10032bd5
mov esp, ebp
pop ebp
ret

Function at 0x1000bdc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006c064]
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 0x1000be11
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.10032bd5
mov esp, ebp
pop ebp
ret

Function at 0x1000c4e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006c064]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x100958f0
call fcn.10009dc0
add esp, 0xc
push 0x100958f0
push 0x10064810
push 1
push 0x10094818
call fcn.100171b0
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 0x1000c55f
cmp eax, 3
je 0x1000c55f
cmp eax, 4
je 0x1000c55f
push 0x41010
push str.CLEO_error
push 0x100958f0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10032bd5
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 0x100958f0
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.10032bd5
mov esp, ebp
pop ebp
ret