joyce8/EMBER2024-capa huggingface dataset:
Function at 0x28f2040
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
mov dword [ebp + eax*4 - 0x400], eax
inc eax
cmp eax, 0x100
jb 0x28f2050
mov ebx, 2
lea ecx, [ebp - 0x3fc]
lea ebx, [ebx]
xor edx, edx
lea eax, [ebx - 2]
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add ecx, 0x10
movzx esi, byte [edx + eax]
add esi, dword [ecx - 0x14]
mov al, byte [ecx - 0x14]
add esi, edi
movzx eax, al
and esi, 0xff
mov edx, dword [ebp + esi*4 - 0x400]
mov dword [ecx - 0x14], edx
mov dword [ebp + esi*4 - 0x400], eax
xor edx, edx
lea eax, [ebx - 1]
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
movzx edi, byte [edx + eax]
add edi, dword [ecx - 0x10]
mov al, byte [ecx - 0x10]
add edi, esi
movzx eax, al
and edi, 0xff
mov edx, dword [ebp + edi*4 - 0x400]
mov dword [ecx - 0x10], edx
mov dword [ebp + edi*4 - 0x400], eax
xor edx, edx
mov eax, ebx
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
movzx esi, byte [edx + eax]
add esi, dword [ecx - 0xc]
mov al, byte [ecx - 0xc]
add esi, edi
movzx eax, al
and esi, 0xff
mov edx, dword [ebp + esi*4 - 0x400]
mov dword [ecx - 0xc], edx
mov dword [ebp + esi*4 - 0x400], eax
xor edx, edx
lea eax, [ebx + 1]
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add ebx, 4
movzx edi, byte [edx + eax]
add edi, dword [ecx - 8]
mov al, byte [ecx - 8]
add edi, esi
and edi, 0xff
mov edx, dword [ebp + edi*4 - 0x400]
mov dword [ecx - 8], edx
movzx eax, al
lea edx, [ebx - 2]
mov dword [ebp + edi*4 - 0x400], eax
cmp edx, 0x100
jb 0x28f2070
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
xor esi, esi
cmp dword [ebp + 0x10], ecx
jbe 0x28f21b7
jmp 0x28f2160
inc edx
and edx, 0xff
mov edi, dword [ebp + edx*4 - 0x400]
mov bl, byte [ebp + edx*4 - 0x400]
add edi, esi
and edi, 0xff
mov esi, edi
mov edi, dword [ebp + esi*4 - 0x400]
mov dword [ebp + edx*4 - 0x400], edi
movzx edi, bl
mov dword [ebp + esi*4 - 0x400], edi
mov ebx, dword [ebp + edx*4 - 0x400]
add ebx, edi
and ebx, 0xff
movzx ebx, byte [ebp + ebx*4 - 0x400]
xor byte [ecx + eax], bl
inc ecx
cmp ecx, dword [ebp + 0x10]
jb 0x28f2160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x28f2a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x28f2a91
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, byte [ecx + esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + str.vailable]
inc ecx
cmp ecx, edx
jb 0x28f2a74
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x28f39e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
not eax
test ecx, ecx
je 0x28f3a0f
mov edx, dword [ebp + 0xc]
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x2907528]
dec ecx
inc edx
test ecx, ecx
jne 0x28f39f3
pop esi
not eax
pop ebp
ret
Function at 0x28f42b0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 0x5a4d
push ebx
push edi
cmp word [esi], ax
jne 0x28f4332
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x28f4332
mov eax, dword [eax + 0x78]
mov ecx, dword [eax + esi + 0x1c]
mov edi, dword [eax + esi + 0x20]
add eax, esi
add ecx, esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x14]
add ecx, esi
add edi, esi
xor ebx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
jbe 0x28f4332
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
add eax, esi
mov edi, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x28f4320
test dl, dl
je 0x28f431c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x28f4320
add ecx, 2
add eax, 2
test dl, dl
jne 0x28f4300
xor eax, eax
jmp 0x28f4325
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x28f433a
inc ebx
add edi, 4
cmp ebx, dword [ebp - 4]
jb 0x28f42f7
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + ebx*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
add eax, esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x28f4d00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ecx + 0x3c]
movzx eax, word [edi + ecx + 0x14]
add edi, ecx
xor edx, edx
xor ebx, ebx
lea esi, [eax + edi + 0x18]
cmp dx, word [edi + 6]
jae 0x28f4d5a
add esi, 0x10
test byte [esi + 0x14], 0x80
jne 0x28f4d31
mov eax, dword [esi - 8]
cmp eax, dword [esi]
jbe 0x28f4d4e
mov eax, dword [esi]
mov edx, dword [esi - 8]
sub edx, eax
push edx
mov edx, dword [esi - 4]
add edx, eax
add edx, ecx
push 0
push edx
call fcn.028f41f0
mov ecx, dword [ebp + 8]
add esp, 0xc
movzx eax, word [edi + 6]
inc ebx
add esi, 0x28
cmp ebx, eax
jl 0x28f4d24
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x28f5e20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x218
mov eax, 0x5a4d
push ebx
mov ebx, ecx
cmp word [ecx], ax
je 0x28f5e40
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x28f5e39
mov edx, 0x14c
cmp word [eax + 4], dx
jne 0x28f5e39
mov eax, dword [eax + 0x80]
test eax, eax
je 0x28f5eee
cmp dword [eax + ecx + 0xc], 0
push esi
lea esi, [eax + ecx + 0xc]
je 0x28f5eed
push edi
mov eax, dword [esi]
add eax, ebx
push eax
mov dword [ebp - 0xc], eax
call fcn.028f4270
mov word [ebp - 0xe], ax
mov word [ebp - 0x10], ax
add esp, 4
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov word [ebp - 8], cx
push eax
lea ecx, [ebp - 8]
mov edx, 0x104
push ecx
mov word [ebp - 6], dx
call dword [0x290793c]
test eax, eax
jl 0x28f5ee4
mov edx, dword [ebp - 0xc]
push edx
call fcn.028f4490
mov edi, eax
test edi, edi
je 0x28f5ee4
mov eax, dword [0x2939208]
push edi
push eax
lea ecx, [ebp - 8]
call fcn.028f5a90
add esp, 8
test eax, eax
je 0x28f5ee4
push edi
call fcn.028f5e20
add esp, 4
add esi, 0x14
cmp dword [esi], 0
jne 0x28f5e73
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x28fa030
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a40
call 0x2901b10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov dword [ebp - 4], 1
call fcn.028f9f00
mov edi, dword [0x2901174]
mov esi, eax
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x28fa067
movzx eax, ax
jmp 0x28fa086
call edi
push eax
call fcn.028f4460
add esp, 4
call fcn.028f4470
movzx eax, ax
cdq
mov ecx, 0xffff
idiv ecx
inc edx
movzx eax, dx
mov edx, 2
push eax
mov word [ebp - 0x14], dx
call 0x2901a50
mov dword [ebp - 0x10], esi
mov word [ebp - 0x12], ax
xor esi, esi
mov edi, edi
call fcn.028f4470
cdq
mov ecx, 0xff
idiv ecx
inc esi
cmp esi, 0x1964
mov byte [ebp + esi - 0x1a41], dl
jl 0x28fa0a0
call edi
mov esi, eax
call edi
mov edi, dword [ebp + 0x10]
imul edi, edi, 0x3e8
mov ebx, eax
sub esi, ebx
cmp esi, edi
ja 0x28fa174
jmp 0x28fa0e0
cmp dword [0x2905b7c], 0
jne 0x28fa174
xor esi, esi
nop
push 0x11
push 2
push 2
call 0x2901a4a
mov dword [ebp + esi*4 - 0xdc], eax
cmp eax, 0xffffffff
je 0x28fa116
lea edx, [ebp - 4]
push edx
push 0x8004667e
push eax
call 0x2901a80
inc esi
cmp esi, 0x32
jl 0x28fa0f0
xor esi, esi
mov edi, edi
mov edx, dword [ebp + esi*4 - 0xdc]
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1964
lea ecx, [ebp - 0x1a40]
push ecx
push edx
call 0x2901a98
inc esi
cmp esi, 0x32
jl 0x28fa120
push 0x64
call dword [0x2901188]
xor esi, esi
mov eax, dword [ebp + esi*4 - 0xdc]
push eax
call 0x2901a38
inc esi
cmp esi, 0x32
jl 0x28fa151
call dword [0x2901174]
sub eax, ebx
cmp eax, edi
jbe 0x28fa0e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x28fb610
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call 0x2901aa4
add esp, 0xc
push 0x29029e0
lea ecx, [ebp - 0x110]
push ecx
call dword [0x2901120]
mov esi, dword [0x293b860]
test esi, esi
jne 0x28fb66e
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x110]
push edx
call dword [0x29012b8]
mov esi, eax
mov dword [0x293b860], esi
mov edi, dword [ebp + 0x14]
xor eax, eax
test edi, edi
je 0x28fb67e
push edi
call dword [0x2901184]
push 0
push 0x4000000
push eax
mov eax, dword [ebp + 8]
push edi
push eax
push esi
call dword [0x29012b4]
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x28fb6a3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0x20000013
push esi
mov dword [ebp - 8], 0xc8
mov dword [ebp - 0xc], 4
call dword [0x29012b0]
test eax, eax
je 0x28fb6db
mov eax, dword [ebp - 8]
cmp eax, 0xc8
jb 0x28fb69a
cmp eax, 0x12b
ja 0x28fb69a
mov esi, dword [ebp + 0x10]
push edi
push edi
push esi
push ebx
call dword [0x29012ac]
test eax, eax
je 0x28fb69a
mov dword [esi], edi
mov dword [0x293b85c], edi
mov dword [0x293b858], edi
mov dword [0x293b854], edi
mov edi, dword [0x29012c8]
mov dword [ebp - 4], 1
lea ecx, [ecx]
push 0x1000
call 0x2901b52
mov dword [0x293b85c], eax
add esp, 4
mov dword [eax + 0xffc], 0
cmp dword [0x293b854], 0
jne 0x28fb741
mov eax, dword [0x293b85c]
mov dword [0x293b854], eax
jmp 0x28fb757
mov eax, dword [0x293b858]
mov ecx, dword [0x293b85c]
mov dword [eax + 0xffc], ecx
mov eax, dword [0x293b85c]
lea edx, [ebp - 4]
push edx
push 0xff8
push eax
push ebx
mov dword [0x293b858], eax
call edi
mov ecx, dword [0x293b85c]
mov eax, dword [ebp - 4]
mov dword [ecx + 0xff8], eax
mov eax, dword [ebp - 4]
add dword [esi], eax
mov ecx, dword [esi]
test eax, eax
jne 0x28fb710
inc ecx
push ecx
call 0x2901b52
mov edi, dword [ebp + 0xc]
add esp, 4
mov dword [edi], eax
mov eax, dword [0x293b854]
xor esi, esi
xor ecx, ecx
mov dword [0x293b85c], eax
test ecx, ecx
je 0x28fb7b2
push ecx
call 0x2901abc
mov eax, dword [0x293b85c]
add esp, 4
test eax, eax
je 0x28fb7e0
mov edx, dword [eax + 0xff8]
push edx
push eax
mov eax, dword [edi]
add eax, esi
push eax
call fcn.028f4240
mov eax, dword [0x293b85c]
add esp, 0xc
add esi, dword [eax + 0xff8]
mov ecx, eax
mov eax, dword [eax + 0xffc]
jmp 0x28fb79b
mov ecx, dword [edi]
push ebx
mov byte [esi + ecx], 0
call dword [0x29012c4]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003940
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 0x100039a1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10003984
cmp edi, 2
jb 0x10003984
cmp byte [esi], cl
jne 0x10003984
cmp byte [esi + 1], cl
jne 0x10003984
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10055600]
jmp 0x10003955
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10055600]
test edi, edi
jne 0x10003955
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100039d0
cmp cl, 0x23
jne 0x100039b7
cmp byte [esi], cl
jne 0x100039b7
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 + 0x10055600]
test cl, cl
jne 0x100039a8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10003c20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10003c45
push 0x599
push str.C:UserspidorasDesktopImGui_DirectX_11_Kiero_Hook_master__4_ImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x10003c52
mov dword [edi], 0
mov edx, 0x100552f8
mov ecx, esi
call fcn.100039e0
mov esi, eax
test esi, esi
je 0x10003d42
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10003d38
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 0x10003d38
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x10003d38
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10003d38
mov eax, dword [0x10064118]
test eax, eax
je 0x10003ccc
inc dword [eax + 0x374]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10003d38
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x10003d1d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10064118]
add esp, 4
test eax, eax
je 0x10003d0a
dec dword [eax + 0x374]
push ebx
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
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10003d2f
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
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
mov esp, ebp
pop ebp
ret
Function at 0x10005dc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xbc], 0
jg 0x10005de8
push 0x502
push str.C:UserspidorasDesktopImGui_DirectX_11_Kiero_Hook_master__4_ImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0xbc]
mov edi, 4
mov eax, dword [esi + 0xc4]
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 + 0x10055600]
sub edi, 1
jne 0x10005e02
mov ecx, dword [0x10064118]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19e4], eax
jne 0x10005e34
mov dword [ecx + 0x19e8], eax
cmp dword [ecx + 0x1a18], eax
jne 0x10005e43
mov byte [ecx + 0x1a1c], 1
pop ebp
ret 4

Function at 0x10005e50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10063040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xbc], 0
jg 0x10005e85
push 0x502
push str.C:UserspidorasDesktopImGui_DirectX_11_Kiero_Hook_master__4_ImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edi, 0x10
movss xmm0, dword [ecx]
subss xmm0, dword [esi + 0xc]
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [esi + 0x10]
mov ecx, dword [esi + 0xbc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10055600]
sub edi, 1
jne 0x10005ee5
mov eax, dword [0x10064118]
not edx
pop edi
pop esi
cmp dword [eax + 0x19e4], edx
jne 0x10005f16
mov dword [eax + 0x19e8], edx
cmp dword [eax + 0x1a18], edx
jne 0x10005f25
mov byte [eax + 0x1a1c], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.1004ed27
mov esp, ebp
pop ebp
ret 4
Function at 0x100087c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
jne 0x100087d9
cmp byte [edi + 0x2d2c], 0
je 0x100087f1
push 0xed0
push str.C:UserspidorasDesktopImGui_DirectX_11_Kiero_Hook_master__4_ImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
push str._g.Initialized___g.SettingsLoaded
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
or edx, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x10053749
mov al, 0x57
or ebx, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1000881e
cmp byte [esi], al
jne 0x1000881e
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 + 0x10055600]
test al, al
jne 0x10008810
mov esi, dword [edi + 0x2d40]
not edx
mov ecx, dword [edi + 0x2d44]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x10015650
mov dword [ebp - 0xc], 0x100156b0
mov dword [ebp - 8], 0x10015780
cmp esi, ecx
jne 0x100088f4
inc esi
test ecx, ecx
je 0x10008875
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000887a
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x100088f4
mov eax, dword [0x10064118]
test eax, eax
je 0x10008892
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 0x100088e8
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 0x100088de
mov eax, dword [0x10064118]
test eax, eax
je 0x100088de
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 0x10009d80
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 0x10009dbf
cmp bl, 0x23
jne 0x10009da1
cmp byte [esi], bl
jne 0x10009da1
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 + 0x10055600]
test bl, bl
jne 0x10009d92
mov ecx, dword [0x10064118]
not eax
mov esi, dword [ecx + 0x19a0]
mov edi, dword [ecx + 0x19a8]
lea ebx, [edi + esi*8]
test esi, esi
je 0x10009dfe
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10009df8
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x10009dfa
mov esi, edx
test esi, esi
jne 0x10009de0
cmp edi, ebx
je 0x10009e0d
cmp dword [edi], eax
jne 0x10009e0d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1000f770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10063040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10064118]
push ebx
push esi
push edi
mov esi, dword [eax + 0x19b0]
add esi, 0xbc
mov dword [ebp - 8], ecx
cmp dword [esi], 0
jg 0x1000f7b4
push 0x502
push str.C:UserspidorasDesktopImGui_DirectX_11_Kiero_Hook_master__4_ImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ebx, dword [esi + 8]
mov edi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10055600]
sub edi, 1
jne 0x1000f7c7
mov ecx, dword [esi + 4]
not ebx
mov edi, dword [esi]
cmp edi, ecx
jne 0x1000f80e
inc edi
test ecx, ecx
je 0x1000f7fc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000f801
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10016270
mov ecx, dword [esi]
mov eax, dword [esi + 8]
pop edi
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1004ed27
mov esp, ebp
pop ebp
ret
Function at 0x10014db0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x10064118]
push edi
cmp byte [esi + 0x2d58], 0
je 0x10014e4f
cmp dword [esi + 0x2d60], 0
lea edi, [esi + 0x2d64]
je 0x10014e41
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10014df9
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.10016620
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10004480
mov edx, dword [edi]
mov ecx, 0x10064114
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.10004480
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10015530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x10064118]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2d30], 0
test eax, eax
je 0x1001563f
lea edi, [esi + 0x2d34]
mov dword [esi + 0x2d30], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10015585
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.10016620
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x1001559a
push 8
mov ecx, edi
call fcn.10016620
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [edi + 8]
mov byte [ecx + eax], 0
inc dword [edi]
mov eax, dword [esi + 0x2d40]
test eax, eax
jle 0x100155fc
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x100155d5
push 0x4f8
push str.C:UserspidorasDesktopImGui_DirectX_11_Kiero_Hook_master__4_ImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.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 [esi + 0x2d48]
add eax, ecx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 4]
inc ebx
mov eax, dword [esi + 0x2d40]
add ecx, 0x18
add esp, 0xc
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x100155d5
mov edi, dword [edi]
mov ebx, 0x10064114
mov ecx, dword [ebp - 8]
mov edx, 0x10055360
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2d3c]
test eax, eax
cmovne ebx, eax
call fcn.100039e0
mov esi, eax
test esi, esi
je 0x1001563f
push esi
push edi
push 1
push ebx
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