joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002b10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10002b5c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10002b3f
cmp edi, 2
jb 0x10002b3f
cmp byte [esi], cl
jne 0x10002b3f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1002ad70]
test edi, edi
jne 0x10002b25
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10002b8b
cmp cl, 0x23
jne 0x10002b72
cmp byte [esi], cl
jne 0x10002b72
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1002ad70]
test cl, cl
jne 0x10002b63
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10002cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10002cf4
push 0x599
push str.c:usersendlessdesktopimgui_directx_9_kiero_hook_masterimgui_directx_9_kiero_hook_2imguiimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10002d01
mov dword [ebx], 0
mov edx, 0x1002aa6c
mov ecx, esi
call fcn.10002ba0
mov esi, eax
test esi, esi
je 0x10002ded
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10002de3
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10002de3
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10002de3
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10002de3
cmp edi, 0xffffffff
je 0x10002de3
mov eax, dword [0x10032718]
test eax, eax
je 0x10002d7d
inc dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10002de3
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x10002dcc
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10032718]
add esp, 4
test eax, eax
je 0x10002db9
dec dword [eax + 0x374]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x10002ddb
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10004520
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jg 0x1000454f
push 0x502
push str.c:usersendlessdesktopimgui_directx_9_kiero_hook_masterimgui_directx_9_kiero_hook_2imguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esi + 0xbc]
add esp, 0xc
mov eax, dword [esi + 0xc4]
mov edi, 4
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1002ad70]
sub edi, 1
jne 0x10004563
mov ecx, dword [0x10032718]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19e4], eax
jne 0x10004595
mov dword [ecx + 0x19e8], eax
cmp dword [ecx + 0x1a18], eax
jne 0x100045a4
mov byte [ecx + 0x1a1c], 1
pop ebp
ret 4

Function at 0x10006ab0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
jne 0x10006ac9
cmp byte [edi + 0x2d2c], 0
je 0x10006ae1
push 0xed0
push str.c:usersendlessdesktopimgui_directx_9_kiero_hook_masterimgui_directx_9_kiero_hook_2imguiimgui.cpp
push str._g.Initialized___g.SettingsLoaded
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
xorps xmm0, xmm0
or edx, 0xffffffff
movups xmmword [ebp - 0x18], xmm0
mov al, 0x57
mov dword [ebp - 0x18], str.Window
movq qword [ebp - 8], xmm0
mov esi, 0x100293f9
or ebx, 0xffffffff
cmp al, 0x23
jne 0x10006b0f
cmp byte [esi], al
jne 0x10006b0f
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1002ad70]
test al, al
jne 0x10006b01
mov esi, dword [edi + 0x2d40]
not edx
mov ecx, dword [edi + 0x2d44]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x10011970
mov dword [ebp - 0xc], 0x100119d0
mov dword [ebp - 8], 0x10011aa0
cmp esi, ecx
jne 0x10006be5
inc esi
test ecx, ecx
je 0x10006b66
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10006b6b
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x10006be5
mov eax, dword [0x10032718]
test eax, eax
je 0x10006b83
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x2d48]
test eax, eax
je 0x10006bd9
mov ecx, dword [edi + 0x2d40]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2d48]
add esp, 0xc
test ecx, ecx
je 0x10006bcf
mov eax, dword [0x10032718]
test eax, eax
je 0x10006bcf
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x2d48], ebx
mov dword [edi + 0x2d44], esi
mov eax, dword [edi + 0x2d40]
movups xmm0, xmmword [ebp - 0x18]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d48]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi + 0x2d40]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007f70
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x10007faf
cmp bl, 0x23
jne 0x10007f91
cmp byte [esi], bl
jne 0x10007f91
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x1002ad70]
test bl, bl
jne 0x10007f82
mov ebx, dword [0x10032718]
not eax
mov esi, dword [ebx + 0x19a0]
mov edi, dword [ebx + 0x19a8]
mov ecx, edi
test esi, esi
je 0x10007ff4
nop dword [eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10007fe8
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x10007fea
mov esi, edx
test esi, esi
jne 0x10007fd0
mov ecx, dword [ebx + 0x19a8]
mov edx, dword [ebx + 0x19a0]
lea ecx, [ecx + edx*8]
cmp edi, ecx
je 0x1000800c
cmp dword [edi], eax
jne 0x1000800c
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x100110f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x10032718]
push edi
cmp byte [esi + 0x2d58], 0
je 0x1001118f
cmp dword [esi + 0x2d60], 0
lea edi, [esi + 0x2d64]
je 0x10011181
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10011139
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10012740
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10003450
mov edx, dword [edi]
mov ecx, 0x10032714
push dword [esi + 0x2d60]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d6c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.10003450
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10011850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x10032718]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [edi + 0x2d30], 0
test eax, eax
je 0x10011969
lea esi, [edi + 0x2d34]
mov dword [edi + 0x2d30], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100118a8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10012740
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esi], 0
test ecx, ecx
jne 0x100118bf
push 8
mov ecx, esi
call fcn.10012740
mov edx, dword [esi]
mov eax, dword [esi + 8]
xor ebx, ebx
mov byte [edx + eax], 0
inc dword [esi]
mov eax, dword [edi + 0x2d40]
mov ecx, dword [esi]
test eax, eax
jle 0x10011923
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x100118fa
push 0x4f8
push str.c:usersendlessdesktopimgui_directx_9_kiero_hook_masterimgui_directx_9_kiero_hook_2imguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [edi + 0x2d48]
add eax, ecx
push esi
push eax
push edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 4]
inc ebx
mov eax, dword [edi + 0x2d40]
add ecx, 0x18
add esp, 0xc
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x100118fa
mov ecx, dword [esi]
lea eax, [ecx - 1]
mov edx, 0x1002aad0
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [edi + 0x2d3c]
test eax, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
mov edi, 0x10032714
cmovne edi, eax
call fcn.10002ba0
mov esi, eax
test esi, esi
je 0x10011969
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10024ba0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1003200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10024c9a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10024c93
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10024c79
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10024c79
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10024c79
mov edx, dword [esi]
test edx, edx
jne 0x10024c42
push 0x200
push edx
push dword [0x10032720]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10024c93
jmp 0x10024c6d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10024c6d
shl eax, 3
push eax
push edx
push 0
push dword [0x10032720]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10024c93
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10024c01
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10024cdf
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10024cdf
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10024cd9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10024a30
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10024ca6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10025af6
mov esp, ebp
pop ebp
ret

Function at 0x10024cf0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x10024d3e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10024d2e
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10024d25
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10024d02
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x10032720]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x10024d40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1003200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x10032810]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10024da1
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10025af6
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10024dc2
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10024de3
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10024de3
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10024ddd
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10024de3
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
xor eax, eax
and cl, 0xfb
or cl, bl
mov byte [esi + 0x14], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10025af6
mov esp, ebp
pop ebp
ret
Function at 0x10024e40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x10032818]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x10024f31
mov eax, dword [0x10032810]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x10024e85
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x10024e68
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10024f31
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.10024ba0
mov ecx, dword [0x10032818]
add esp, 4
cmp esi, ecx
jae 0x10024ee5
imul edi, esi, 0x2c
mov eax, dword [0x10032810]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x10024eda
mov edx, ebx
mov ecx, esi
call fcn.10024d40
mov dword [ebp - 4], eax
test eax, eax
jne 0x10024ee2
mov ecx, dword [0x10032818]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10024eb1
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10024f31
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10024f22
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10024f16
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10024ef5
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10032720]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10025a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x10025ab8
sub eax, 1
jne 0x10025aed
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x10025a00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
cmp dword [0x10032768], 0
je 0x10025aed
xor edx, edx
xor ecx, ecx
call fcn.10025270
push dword [0x10032754]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [0x10032754], 0
mov dword [0x10032768], 0
mov eax, 1
pop ebp
ret 0xc
Function at 0x10004ee4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x105c]
push ebx
mov ebx, dword [eax + 0x1050]
imul edx, ebx
push esi
mov esi, dword [eax + 0x18]
add edx, esi
cmp esi, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jae 0x10004ff3
push ebp
push edi
mov edi, 0x7c1f
mov ebp, dword [esp + 0x14]
mov eax, dword [eax + 0x1058]
lea eax, [esi + eax*2]
mov dword [esp + 0x10], ebp
add ebx, esi
cmp esi, eax
mov ebp, esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
jae 0x10004fd1
movzx ecx, word [ebp]
movzx edx, word [ebp + 2]
movzx eax, word [ebx + 2]
movzx ebx, word [ebx]
mov ebp, eax
and ebp, 0xffff03e0
mov dword [esp + 0x20], ecx
and ecx, 0xffff03e0
add ebp, ecx
mov ecx, ebx
and ecx, 0xffff03e0
add ebp, ecx
mov ecx, edx
and ecx, 0xffff03e0
lea ebp, [ecx + ebp + 0x40]
mov ecx, dword [esp + 0x20]
and eax, edi
and ecx, edi
add eax, ecx
and ebx, edi
add eax, ebx
mov ebx, dword [esp + 0x1c]
and edx, edi
lea eax, [eax + edx + 0x802]
shr eax, 2
and ax, di
shr ebp, 2
and ebp, 0xffff03e0
add ebx, 4
mov dword [esp + 0x1c], ebx
or ebp, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bp
mov ebp, dword [esp + 0x18]
add ebp, 4
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
jb 0x10004f3c
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x1050]
add dword [esp + 0x14], eax
mov eax, dword [ecx]
mov ebx, dword [eax + 0x1050]
lea esi, [esi + ebx*2]
cmp esi, edx
jb 0x10004f13
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x10005030
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
mov edx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x10005141
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x1000511c
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x10005064
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x1000503b
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret

Function at 0x100109b5
Capabilities:
Check os version

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
push edi
je 0x100109c1
push eax
call dword [sym.imp.kERnEl32.dLL_UnmapViewOfFile]
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.kERnEl32.dLL_CloseHandle]
je 0x100109d6
push eax
call edi
or dword [esi + 4], 0xffffffff
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100109e3
push eax
call edi
or dword [esi], 0xffffffff
pop edi
xor eax, eax
pop esi
ret
cmp dword [ecx], 0xffffffff
je 0x100109f2
jmp 0x100109a7
ret
Function at 0x10019ddd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x58], 0
push edi
je 0x10019c73
push str.Out_of_place_IHDR
push esi
call fcn.10012c0e
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0xd
je 0x10019c86
push str.Invalid_IHDR_chunk
push esi
call fcn.10012c0e
pop ecx
pop ecx
or dword [esi + 0x58], 1
push 0xd
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.100192f8
push 0
push esi
call fcn.10019bc8
lea eax, [ebp - 0x1c]
push eax
call fcn.100192d5
mov edi, eax
lea eax, [ebp - 0x18]
push eax
call fcn.100192d5
movzx ebx, byte [ebp - 0x14]
mov dword [ebp + 8], eax
movzx eax, byte [ebp - 0x13]
mov dword [ebp + 0x10], eax
movzx eax, byte [ebp - 0x12]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 0x11]
mov dword [ebp - 8], eax
movzx eax, byte [ebp - 0x10]
add esp, 0x1c
test edi, edi
mov dword [ebp - 4], eax
je 0x10019cf0
mov eax, 0x7fffffff
cmp edi, eax
ja 0x10019cf0
cmp dword [ebp + 8], 0
je 0x10019cf0
cmp dword [ebp + 8], eax
jbe 0x10019cfd
push str.Invalid_image_size_in_IHDR
push esi
call fcn.10012c0e
pop ecx
pop ecx
cmp ebx, 1
je 0x10019d23
cmp ebx, 2
je 0x10019d23
cmp ebx, 4
je 0x10019d23
cmp ebx, 8
je 0x10019d23
cmp ebx, 0x10
je 0x10019d23
push str.Invalid_bit_depth_in_IHDR
push esi
call fcn.10012c0e
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x10019d39
cmp eax, 1
je 0x10019d39
cmp eax, 5
je 0x10019d39
cmp eax, 6
jle 0x10019d46
push str.Invalid_color_type_in_IHDR
push esi
call fcn.10012c0e
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, 3
jne 0x10019d53
cmp ebx, 8
jg 0x10019d67
cmp eax, 2
je 0x10019d62
cmp eax, 4
je 0x10019d62
cmp eax, 6
jne 0x10019d74
cmp ebx, 8
jge 0x10019d74
push str.Invalid_color_type_bit_depth_combination_in_IHDR
push esi
call fcn.10012c0e
pop ecx
pop ecx
cmp dword [ebp - 4], 2
jl 0x10019d87
push str.Unknown_interlace_method_in_IHDR
push esi
call fcn.10012c0e
pop ecx
pop ecx
cmp dword [ebp - 0xc], 0
je 0x10019d9a
push str.Unknown_compression_method_in_IHDR
push esi
call fcn.10012c0e
pop ecx
pop ecx
cmp dword [ebp - 8], 0
je 0x10019dad
push str.Unknown_filter_method_in_IHDR
push esi
call fcn.10012c0e
pop ecx
pop ecx
mov al, byte [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov byte [esi + 0x113], al
movzx eax, cl
sub eax, 0
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edx
mov byte [esi + 0x117], bl
mov byte [esi + 0x116], cl
je 0x10019e05
dec eax
dec eax
je 0x10019dfc
dec eax
je 0x10019e05
dec eax
je 0x10019df3
dec eax
dec eax
jne 0x10019e0c
mov byte [esi + 0x11a], 4
jmp 0x10019e0c
mov byte [esi + 0x11a], 2
jmp 0x10019e0c
mov byte [esi + 0x11a], 3
jmp 0x10019e0c
mov byte [esi + 0x11a], 1
mov al, byte [esi + 0x11a]
push dword [ebp - 8]
imul bl
push dword [ebp - 0xc]
mov byte [esi + 0x119], al
push dword [ebp - 4]
movzx eax, al
imul eax, edi
push ecx
push ebx
push edx
push edi
push dword [ebp + 0xc]
add eax, 7
shr eax, 3
push esi
mov dword [esi + 0xc8], eax
call fcn.10014e16
add esp, 0x24
pop edi
pop esi
pop ebx
leave
ret