joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440784
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x440847
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x34]
call fcn.00403e0c
push eax
call sub.wsock32.dll_inet_addr
mov esi, eax
mov dword [ebx + 0x40], esi
inc esi
je 0x4407be
lea eax, [ebx + 0x38]
mov edx, dword [ebx + 0x34]
call fcn.00403a20
jmp 0x440812
mov eax, dword [ebx + 0x34]
call fcn.00403e0c
push eax
call sub.wsock32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x4407fe
call sub.kernel32.dll_GetLastError_1
mov dword [ebx + 0x68], eax
cmp word [ebx + 0x52], 0
je 0x440831
lea eax, [ebp - 4]
mov ecx, dword [ebx + 0x34]
mov edx, 0x44085c
call fcn.00403c94
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x54]
call dword [ebx + 0x50]
jmp 0x440831
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebx + 0x40], eax
lea eax, [ebx + 0x38]
mov edx, dword [esi]
call fcn.00403b80
push dword [ebx + 0x40]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 4]
call fcn.00407af4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x3c]
call fcn.00403a20
mov byte [ebx + 0x6c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44084e
lea eax, [ebp - 4]
call fcn.004039cc
ret

Function at 0x44d854
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44d91f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x28], 0
jne 0x44d886
mov ecx, 0x1475
mov edx, 0x44d934
mov eax, 0x44d964
call fcn.004039b0
mov eax, dword [ebx + 0x28]
add eax, 0x224
call fcn.004039cc
lea eax, [ebx + 0x34]
mov ecx, 0x104
xor edx, edx
call fcn.00403ab0
mov eax, dword [ebx + 0x34]
call fcn.00403e0c
push eax
push 0
push 0x44d978
mov eax, ebx
call fcn.0044a2a8
lea edx, [ebp - 4]
call fcn.00449c84
mov eax, dword [ebp - 4]
call fcn.00403e0c
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jne 0x44d904
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 8]
call fcn.00407230
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x44d984
call fcn.00403c94
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x406494]
call fcn.004095fc
call fcn.0040348c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d926
lea eax, [ebp - 8]
mov edx, 2
call fcn.004039f0
ret
Function at 0x44f960
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
test dl, dl
je 0x44f974
add esp, 0xfffffff0
call fcn.00403118
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x44fab4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00402e74
xor eax, eax
mov dword [edi + 0x28], eax
mov byte [edi + 0x2c], 0
mov byte [edi + 0x2d], 1
lea eax, [edi + 4]
mov edx, esi
call fcn.00403a20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [edi + 4]
call fcn.00403e0c
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
mov dword [edi + 8], esi
inc esi
jne 0x44f9e8
lea eax, [ebp - 4]
mov ecx, dword [edi + 4]
mov edx, 0x44fadc
call fcn.00403c94
mov eax, dword [ebp - 4]
call fcn.0044f948
push 0
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
mov dword [edi + 0x14], esi
inc esi
jne 0x44fa05
mov eax, 0x44faf4
call fcn.0044f948
push 0
push 0
push 0
push 2
push 0
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov dword [edi + 0xc], esi
test esi, esi
jne 0x44fa2b
mov eax, 0x44fb10
call fcn.0044f948
push 0
push 0
push 0
push 4
mov eax, dword [edi + 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
mov dword [edi + 0x10], esi
test esi, esi
jne 0x44fa4f
mov eax, 0x44fb34
call fcn.0044f948
mov eax, dword [edi + 0x10]
mov dword [edi + 0x18], eax
mov ax, word [eax]
not ax
cmp ax, 0x5a4d
jne 0x44fa6b
mov eax, 0x44fb54
call fcn.0044f948
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x3c]
add eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
push 0xf8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x44fa94
mov eax, dword [edi + 0x1c]
cmp dword [eax], 0x4550
je 0x44fa9e
mov eax, 0x44fb78
call fcn.0044f948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fabb
lea eax, [ebp - 4]
call fcn.004039cc
ret
Function at 0x454258
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x454403
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x454414
lea edi, [ebp - 0x100]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x108]
xor eax, eax
call fcn.0040294c
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.004077b8
mov eax, dword [ebp - 0x104]
push eax
lea edx, [ebp - 0x10c]
xor eax, eax
call fcn.0040294c
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00407694
mov edx, dword [ebp - 0x108]
lea eax, [ebx + 0x20c]
pop ecx
call fcn.00403c94
push 0x104
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebx + 0x210]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00403bf8
push 0x104
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebx + 0x214]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00403bf8
lea ecx, [ebp - 0x104]
mov edx, 0x45451c
mov eax, ebx
call fcn.00451bd8
mov ecx, dword [ebp - 0x104]
lea eax, [ebx + 0x218]
mov edx, dword [ebx + 0x210]
call fcn.00403c94
mov eax, dword [ebx + 0x218]
call fcn.00440304
mov dl, 1
mov eax, dword [0x43bc34]
call fcn.0043bd68
mov esi, eax
mov edx, 0x80000001
mov eax, esi
call fcn.0043bdfc
xor ecx, ecx
mov edx, 0x45453c
mov eax, esi
call fcn.0043bf54
lea ecx, [ebp - 0x104]
mov edx, 0x454588
mov eax, esi
call fcn.0043c228
mov edx, dword [ebp - 0x104]
lea eax, [ebx + 0x21c]
call fcn.00403a20
mov eax, esi
call fcn.00402e9c
lea edx, [ebp - 0x104]
mov eax, dword [ebx + 0x21c]
call fcn.00454064
mov edx, dword [ebp - 0x104]
lea eax, [ebx + 0x220]
call fcn.00403a20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45440a
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.004039f0
ret
Function at 0x458f60
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
xor eax, eax
push ebp
push 0x4590a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
xor edx, edx
push ebp
push 0x459084
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, esi
call fcn.00403a64
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00403e0c
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
jne 0x458fce
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459090
push 0
push 0
push 0
push 2
push 0
push esi
call sub.kernel32.dll_CreateFileMappingA
mov edi, eax
test edi, edi
jne 0x458ff3
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459090
push 0
push 0
push 0
push 4
push edi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x459016
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459090
mov eax, dword [ebp - 8]
mov dx, word [eax]
not dx
cmp dx, 0x5a4d
jne 0x459032
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459090
mov edx, dword [eax + 0x3c]
add edx, eax
mov dword [ebp - 0xc], edx
push 0xf8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x459057
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
je 0x459063
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459090
mov eax, esi
call fcn.004073f4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov eax, edi
call fcn.004073f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4590ad
lea eax, [ebp - 4]
call fcn.004039cc
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x574f0f95
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..pdata_1
mov ebx, 0x42e3d0
nop
mov ecx, 0x3fb40f9c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3cc53ed1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2e4b453d
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x403b3c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x403b6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403b6b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x403b76
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x403b74
mov dword [eax], esi
mov al, 1
pop esi
pop ebp
ret

Function at 0x404870
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x4662ac
call fcn.0043dbc4
push 0x10
xor ebx, ebx
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00440cf0
push 0x44
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00440cf0
mov edi, dword [ebp + 0x14]
add esp, 0x18
test edi, edi
je 0x4048a2
mov dword [edi], ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004147f4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004147f4
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
test esi, esi
mov byte [ebp - 4], 1
mov eax, 0x46b5a3
cmovne eax, esi
push eax
call fcn.004147f4
xor eax, eax
mov dword [ebp - 0x6c], 0x44
lea ecx, [ebp - 0x28]
test esi, esi
push ecx
cmovne eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
push ecx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40491f
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x404913
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
jmp 0x404918
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x24]
call esi
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.00414857
lea ecx, [ebp - 0x14]
call fcn.00414857
lea ecx, [ebp - 0x18]
call fcn.00414857
mov al, bl
call fcn.0043db92
ret
Function at 0x405abe
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
xor esi, esi
xor al, 1
push esi
push esi
push 1
push esi
mov byte [0x4e6140], al
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4e6148], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x406355
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ebp
ret
Function at 0x57f770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x122000]
push edi
jmp 0x57f78a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57f791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f780
mov eax, 1
add ebx, ebx
jne 0x57f7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57f7b4
jne 0x57f7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7d3
dec eax
add ebx, ebx
jne 0x57f7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57f798
add ebx, ebx
jne 0x57f7cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57f825
xor ecx, ecx
sub eax, 3
jb 0x57f7eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57f85a
sar eax, 1
mov ebp, eax
jmp 0x57f7f6
add ebx, ebx
jne 0x57f7f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
inc ecx
add ebx, ebx
jne 0x57f804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
add ebx, ebx
jne 0x57f811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57f806
jne 0x57f822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57f806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57f844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57f836
jmp 0x57f786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57f844
add edi, ecx
jmp 0x57f786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57f862
cmp byte [edi], 0x11
jne 0x57f862
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 0x57f867
lea edi, [esi + 0x178000]
mov eax, dword [edi]
or eax, eax
je 0x57f8df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x219858]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2199d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57f894
mov ecx, edi
jns 0x57f8c3
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 + 0x2199d8]
or eax, eax
je 0x57f8d9
mov dword [ebx], eax
add ebx, 4
jmp 0x57f8b1
call dword [esi + 0x2199e8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57f910
cmp al, 0xef
ja 0x57f903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57f8e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57f8f2
mov ebp, dword [esi + 0x2199dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x57f944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x40f690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IdJwCytq
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x40f6b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f6b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f6a8
mov eax, 1
add ebx, ebx
jne 0x40f6cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f6c0
jne 0x40f6dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f6c0
xor ecx, ecx
sub eax, 3
jb 0x40f6f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f762
mov ebp, eax
add ebx, ebx
jne 0x40f6fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f708
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f72c
inc ecx
add ebx, ebx
jne 0x40f718
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f70d
jne 0x40f729
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f70d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f74c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f73d
jmp 0x40f6ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f74c
add edi, ecx
jmp 0x40f6ae
pop esi
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f7ab
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf958]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf9b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f769
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf9b8]
or eax, eax
je 0x40f7a5
mov dword [ebx], eax
add ebx, 4
jmp 0x40f786
call dword [esi + 0xf9b4]
mov ebp, dword [esi + 0xf9bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x40f7df
sub esp, 0xffffff80
jmp section.DiZwhcQz
Function at 0x1000aad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006d050]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x100960c8
call fcn.10009dc0
push 0x100960c8
push 0x10065b58
push 1
push 0x10095b28
call fcn.10017290
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 0x1000ab4c
cmp eax, 3
je 0x1000ab4c
cmp eax, 4
je 0x1000ab4c
push 0x41010
push str.CLEO_error
push 0x100960c8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10032978
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 0x100960c8
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.10032978
mov esp, ebp
pop ebp
ret

Function at 0x1000bc60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1006d050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp byte [eax], 0
jne 0x1000bd83
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 0x1000bd7b
push edi
nop dword [eax + eax]
mov ecx, str..text
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000bcd7
test dl, dl
je 0x1000bcd3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000bcd7
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000bcb7
xor eax, eax
jmp 0x1000bcdc
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000bd10
mov eax, 0x100647a0
mov ecx, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000bd07
test dl, dl
je 0x1000bd03
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000bd07
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000bce7
xor eax, eax
jmp 0x1000bd0c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000bd68
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.1000aa90
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 0x1000bd68
push str.Virtual_protect_error
call fcn.1000aad0
add esp, 4
mov edx, dword [ebp - 0xc]
add ebx, 0x28
dec edx
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x1000bcb0
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.10032978
mov esp, ebp
pop ebp
ret
Function at 0x1000c110
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006d050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.1000bdd0
mov ecx, dword [0x1006fa48]
mov esi, eax
test cl, 1
jne 0x1000c15f
or ecx, 1
mov dword [0x1006fa4c], 0x100647f8
mov dword [0x1006fa48], ecx
mov dword [0x1006fa54], 0
mov dword [0x1006fa50], 0
call fcn.1000bed0
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 0x1000c19b
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.10032978
mov esp, ebp
pop ebp
ret

Function at 0x1000c1b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006d050]
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 0x1000c201
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.10032978
mov esp, ebp
pop ebp
ret

Function at 0x1000c880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006d050]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x10096ae0
call fcn.10009dc0
add esp, 0xc
push 0x10096ae0
push 0x10065b58
push 1
push 0x10095b28
call fcn.10017290
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 0x1000c8ff
cmp eax, 3
je 0x1000c8ff
cmp eax, 4
je 0x1000c8ff
push 0x41010
push str.CLEO_error
push 0x10096ae0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10032978
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 0x10096ae0
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.10032978
mov esp, ebp
pop ebp
ret