joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023e1
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x449008]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xor esi, esi
lea ebx, [edi + 8]
push dword [esi + 0x445198]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x402558
add esi, 4
cmp esi, 0x18
jb 0x402409
push 0xfffe
call fcn.00425650
mov esi, eax
pop ecx
test esi, esi
je 0x402558
push edi
push str._s
push 0x7fff
push esi
call fcn.00401714
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40252b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [esp + 0x44]
push eax
push edi
push str._s_s
push 0x7fff
push esi
call fcn.00401714
add esp, 0x14
lea eax, [esp + 0x44]
test byte [esp + 0x18], 0x10
je 0x4024bb
push 0x444ef4
push eax
call ebx
test eax, eax
je 0x40250a
push 0x444ef8
lea eax, [esp + 0x48]
push eax
call ebx
test eax, eax
je 0x40250a
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.004023e1
jmp 0x40250a
push dword [0x44cd74]
push eax
call ebx
test eax, eax
je 0x40250a
mov eax, dword [0x44cd90]
add eax, 0x240
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x40250a
mov eax, dword [0x44cd90]
add eax, 0x308
push eax
lea eax, [esp + 0x48]
push eax
call ebx
test eax, eax
je 0x40250a
test byte [esp + 0x18], 0xa7
je 0x40250a
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.00401f08
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40246e
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x44cd90]
add eax, 0x308
push eax
push edi
push str._s_s
push 0x7fff
push esi
call fcn.00401714
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.00425635
pop ecx
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040328f
mov esp, ebp
pop ebp
ret

Function at 0x40256d
Capabilities:
Get disk information

Disassembly:
push 0x34
mov eax, 0x4355b7
call fcn.0043438d
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_1b66822170d79c5ee861e3cc08eff673___void__struct__NETRESOURCEW__.0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x41
pop edi
push 0x1a
mov ebx, eax
pop eax
mov dword [ebp - 0x40], eax
test bl, 1
je 0x4025e4
push 0x208
call fcn.00425650
mov esi, eax
pop ecx
test esi, esi
je 0x4025e1
push edi
push 0x445188
push 0x104
push esi
call fcn.00401714
mov edx, dword [ebp - 0x3c]
mov ecx, esi
call fcn.004023e1
push esi
call fcn.00425635
add esp, 0x14
mov eax, dword [ebp - 0x40]
shr ebx, 1
inc edi
sub eax, 1
mov dword [ebp - 0x40], eax
jne 0x4025a7
lea ecx, [ebp - 0x38]
call fcn.004027ca
call fcn.00434348
ret
Function at 0x4025fd
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x449008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or dword [ebp - 8], 0xffffffff
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], 0x4000
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
push ecx
push eax
push 0
push 0
push 2
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
jne 0x402721
push esi
push dword [ebp - 0xc]
call fcn.00425650
mov esi, eax
pop ecx
test esi, esi
je 0x402717
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
jne 0x402710
push edi
and dword [ebp - 0x1c], 0
cmp dword [ebp - 8], 0
jle 0x4026ea
lea edi, [esi + 0x14]
test dword [edi - 8], 2
je 0x40269d
lea eax, [edi - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x402730
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
call dword [eax + 8]
jmp 0x4026db
push 0x208
call fcn.00425650
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4026d8
push dword [edi]
push str.__s
push 0x104
push ebx
call fcn.00401714
mov edx, dword [ebp - 0x18]
mov ecx, ebx
mov edx, dword [edx + 4]
mov edx, dword [edx]
call fcn.004023e1
push ebx
call fcn.00425635
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add edi, 0x20
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 8]
jl 0x402676
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0x4000
push eax
push dword [ebp - 0x10]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
je 0x402669
pop edi
push esi
call fcn.00425635
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040328f
leave
ret 4
call fcn.00403f5c
int3
Function at 0x42b3cf
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042b04c
Function at 0x403d60
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 0x403dc1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x403da4
cmp edi, 2
jb 0x403da4
cmp byte [esi], cl
jne 0x403da4
cmp byte [esi + 1], cl
jne 0x403da4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4588c8]
jmp 0x403d75
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4588c8]
test edi, edi
jne 0x403d75
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x403df0
cmp cl, 0x23
jne 0x403dd7
cmp byte [esi], cl
jne 0x403dd7
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 + 0x4588c8]
test cl, cl
jne 0x403dc8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403f80
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 0x403fa5
push 0x79e
push str.C:UsersMinoDesktop2imgui.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 0x403fb2
mov dword [edi], 0
mov edx, 0x4581e8
mov ecx, esi
call fcn.00403e00
mov esi, eax
test esi, esi
je 0x4040a2
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 0x404098
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 0x404098
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x404098
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 0x404098
mov eax, dword [0x726468]
test eax, eax
je 0x40402c
inc dword [eax + 0xb0]
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 0x404098
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 0x40407d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x726468]
add esp, 4
test eax, eax
je 0x40406a
dec dword [eax + 0xb0]
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 0x40408f
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 0x406260
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0xc8], 0
jg 0x406288
push 0x711
push str.C:UsersMinoDesktop2imgui.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 [ebx + 0xc8]
lea edx, [ebp + 8]
mov ebx, dword [ebx + 0xd0]
mov esi, 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 + 0x4588c8]
sub esi, 1
jne 0x4062a2
mov eax, dword [0x726468]
not ebx
cmp dword [eax + 0x3e5c], ebx
jne 0x4062dc
push ecx
push dword [ebp + 8]
lea edx, [esi + 0xc]
mov ecx, ebx
call fcn.0041c430
add esp, 8
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0xc8], 0
jg 0x406318
push 0x711
push str.C:UsersMinoDesktop2imgui.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 [ebx + 0xc8]
lea edx, [ebp + 8]
mov ebx, dword [ebx + 0xd0]
mov esi, 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 + 0x4588c8]
sub esi, 1
jne 0x406332
mov eax, dword [0x726468]
not ebx
cmp dword [eax + 0x3e5c], ebx
jne 0x40636c
push ecx
push dword [ebp + 8]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0041c430
add esp, 8
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc8], 0
jg 0x4063ab
push 0x711
push str.C:UsersMinoDesktop2imgui.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 [ebp + 8]
mov edi, 0x10
movss xmm1, dword [esi + 0xe4]
movss xmm2, dword [esi + 0xe8]
mov ecx, dword [esi + 0xc8]
movss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [esi + 0xd0]
subss xmm0, xmm2
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 8], xmm0
not edx
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4588c8]
sub edi, 1
jne 0x406410
not edx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40d200
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40d23d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40d223
cmp byte [esi], bl
jne 0x40d223
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4588c8]
test bl, bl
jne 0x40d214
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040d1a0
Function at 0x41af60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5a58], 0
lea esi, [edi + 0x5a5c]
je 0x41afe2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41af9c
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.0041d170
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.004046a0
mov edx, dword [esi]
mov ecx, 0x726464
push dword [edi + 0x5a58]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a64]
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
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.004046a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41b490
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x726468]
lea edx, [ecx + 1]
push ebx
mov dword [ebp - 4], eax
or ebx, 0xffffffff
mov al, byte [ecx]
push esi
push edi
test al, al
je 0x41b4d7
or esi, 0xffffffff
nop
cmp al, 0x23
jne 0x41b4be
cmp byte [edx], al
jne 0x41b4be
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x4588c8]
test al, al
jne 0x41b4b0
mov ecx, dword [ebp - 4]
xor esi, esi
not ebx
mov eax, dword [ecx + 0x5a00]
test eax, eax
jle 0x41b52f
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor edi, edi
test esi, esi
js 0x41b4f8
cmp esi, eax
jl 0x41b515
push 0x708
push str.C:UsersMinoDesktop2imgui.h
push str.i___0__i___Size
call edx
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ecx + 0x5a08]
cmp dword [eax + edi + 4], ebx
je 0x41b538
mov eax, dword [ecx + 0x5a00]
inc esi
add edi, 0x24
cmp esi, eax
jl 0x41b4f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
js 0x41b544
cmp esi, dword [ecx + 0x5a00]
jl 0x41b558
push 0x708
push str.C:UsersMinoDesktop2imgui.h
push str.i___0__i___Size
call edx
add esp, 0xc
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*8]
pop edi
pop esi
pop ebx
mov eax, dword [eax + 0x5a08]
lea eax, [eax + ecx*4]
mov esp, ebp
pop ebp
ret
Function at 0x425950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42598a
mov eax, dword [0x726468]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x42597d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4259bb
mov eax, dword [0x726468]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x4259ae
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4259ec
mov eax, dword [0x726468]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x4259df
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x425a39
mov eax, dword [0x726468]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x425a2c
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x425a6a
mov eax, dword [0x726468]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x425a5d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x425a9b
mov eax, dword [0x726468]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x425a8e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00428740
Function at 0x441850
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x726468]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
cmp byte [eax + 0x2ed8], 0
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
je 0x4418dd
xor edx, edx
mov ecx, 0x210
call fcn.00414540
test al, al
je 0x4418dd
push 0xa0
call ebx
shr eax, 0xf
test al, 1
jne 0x4418dd
cmp dword [0x726468], 0
jne 0x4418a8
push 0xf73
push str.C:UsersMinoDesktop2imgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x726468]
cmp byte [esi + 0x3769], 0
je 0x4418c9
push 0
push 0x210
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004036a0
mov dword [esi + 0x33c], 0x210
mov dword [esi + 0x8fc], 0xa0
mov eax, dword [0x726468]
cmp byte [eax + 0x2f18], 0
je 0x44195b
xor edx, edx
mov ecx, 0x214
call fcn.00414540
test al, al
je 0x44195b
push 0xa1
call ebx
shr eax, 0xf
test al, 1
jne 0x44195b
cmp dword [0x726468], 0
jne 0x441926
push 0xf73
push str.C:UsersMinoDesktop2imgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x726468]
cmp byte [esi + 0x3769], 0
je 0x441947
push 0
push 0x214
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004036a0
mov dword [esi + 0x340], 0x214
mov dword [esi + 0x90c], 0xa1
mov eax, dword [0x726468]
cmp byte [eax + 0x2ef8], 0
je 0x4419d6
xor edx, edx
mov ecx, 0x212
call fcn.00414540
test al, al
je 0x4419d6
push 0x5b
call ebx
shr eax, 0xf
test al, 1
jne 0x4419d6
cmp dword [0x726468], 0
jne 0x4419a1
push 0xf73
push str.C:UsersMinoDesktop2imgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x726468]
cmp byte [esi + 0x3769], 0
je 0x4419c2
push 0
push 0x212
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004036a0
mov dword [esi + 0x228], 0x212
mov dword [esi + 0x904], 0x5b
mov eax, dword [0x726468]
cmp byte [eax + 0x2f38], 0
je 0x441a52
xor edx, edx
mov ecx, 0x216
call fcn.00414540
test al, al
je 0x441a52
push 0x5c
call ebx
shr eax, 0xf
test al, 1
jne 0x441a52
mov esi, dword [0x726468]
test esi, esi
jne 0x441a23
push 0xf73
push str.C:UsersMinoDesktop2imgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x726468]
add esp, 0xc
cmp byte [esi + 0x3769], 0
je 0x441a3e
push 0
push 0x216
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.004036a0
mov dword [esi + 0x22c], 0x216
mov dword [esi + 0x914], 0x5c
pop edi
pop esi
pop ebx
ret
Function at 0x444eb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x444ee1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x444ed0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4503d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x42c
push ebx
push esi
push edi
push ecx
push 0x18
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x450459
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x450459
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Module32NextW]
nop dword [eax + eax]
lea eax, [esp + 0x30]
push str.Engine.dll
push eax
call edi
add esp, 8
test eax, eax
je 0x450451
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x450420
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451312
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x451351
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x451351
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x451351
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x451351
cmp dword [ecx + 0x74], 0xe
jbe 0x451351
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402b48
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x460008], 0x8088405
inc edx
mov dword [ebx + 0x460008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x460024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403038
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403018
xor eax, eax
push ebp
push 0x403011
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403054
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403018
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x460024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x460024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403cfc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x462048], 0
je 0x403d5d
cmp word [0x46221c], 0xd7b2
jne 0x403d25
cmp dword [0x462224], 0
jbe 0x403d25
mov eax, 0x462218
call dword [0x462234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x460070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d84
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x460034], 0
jne 0x403d79
push 0
push 0x460068
push 0x460070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403eb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026cc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x462049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e78
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc