joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023f5
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x402426
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x40242d
cmp ebx, dword [ebp + 8]
jae 0x40242d
xor eax, eax
jmp 0x402613
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40243e
xor eax, eax
inc eax
jmp 0x402612
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x402450
cmp ecx, edx
jae 0x4024b4
cmp dword [eax + 4], 0
je 0x402459
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x402445
cmp dword [ebp + 8], 0
je 0x402473
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4024b4
cmp eax, esi
jae 0x4024b4
mov ecx, dword [0x405070]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x402495
cmp dword [eax*4 + 0x405078], esi
je 0x4024bb
inc eax
cmp eax, ecx
jl 0x402487
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
jl 0x40252b
mov eax, dword [ebp + 8]
jmp 0x40252d
xor eax, eax
jmp 0x402612
test eax, eax
jle 0x402436
xor edx, edx
mov ebx, 0x4050b8
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x402436
cmp dword [eax*4 + 0x405078], esi
je 0x40250a
lea eax, [ecx - 1]
test eax, eax
jl 0x4024f7
cmp dword [eax*4 + 0x405078], esi
je 0x4024f3
dec eax
jns 0x4024e7
test eax, eax
jge 0x402508
cmp ecx, 0x10
jge 0x402503
inc ecx
mov dword [0x405070], ecx
lea eax, [ecx - 1]
jmp 0x40250a
je 0x402522
xor edx, edx
test eax, eax
jl 0x402522
lea ecx, [edx*4 + 0x405078]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x402510
xor eax, eax
xchg dword [ebx], eax
jmp 0x402436
xor eax, eax
test eax, eax
je 0x402610
cmp dword [ebp - 8], 0x1000000
jne 0x402610
test byte [ebp - 0xc], 0xcc
je 0x4025a2
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x402610
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x402610
cmp word [eax + 0x18], 0x10b
jne 0x402610
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x402610
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4025a2
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4025a2
test byte [ecx + 0x27], 0x80
jne 0x4024b4
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x4050b8
xchg dword [edx], ecx
test ecx, ecx
jne 0x402612
mov ecx, dword [0x405070]
test ecx, ecx
mov edx, ecx
jle 0x4025d1
lea eax, [ecx*4 + 0x405074]
cmp dword [eax], esi
je 0x4025d1
dec edx
sub eax, 4
test edx, edx
jg 0x4025c5
test edx, edx
jne 0x402602
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4025de
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4025f6
lea eax, [edx*4 + 0x405078]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x4025e4
cmp ecx, 0x10
jge 0x402602
inc ecx
mov dword [0x405070], ecx
xor eax, eax
mov ecx, 0x4050b8
xchg dword [ecx], eax
jmp 0x402436
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b645
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ecx
dec eax
call fcn.0043b67d
inc eax
sub edx, 0xbd528255
dec eax
xor dword [esi], ecx
mov edx, 0xc80ab6b
mov eax, 0xc739266d
sub edx, 1
inc esi
add edx, eax
cmp esi, ebx
jne fcn.0043b645
sub eax, edx
and eax, edx
ret
Function at 0x403780
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 0x4037e1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x4037c4
cmp edi, 2
jb 0x4037c4
cmp byte [esi], cl
jne 0x4037c4
cmp byte [esi + 1], cl
jne 0x4037c4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4364a8]
jmp 0x403795
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4364a8]
test edi, edi
jne 0x403795
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x403810
cmp cl, 0x23
jne 0x4037f7
cmp byte [esi], cl
jne 0x4037f7
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 + 0x4364a8]
test cl, cl
jne 0x4037e8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x403934
mov dword [ebx], 0
mov edx, 0x4360bc
call fcn.00403820
mov esi, eax
test esi, esi
je 0x403a22
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 - 4], eax
cmp eax, 0xffffffff
je 0x403a18
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 0x403a18
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x403a18
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 0x403a18
mov eax, dword [0x4863a0]
test eax, eax
je 0x4039ac
inc dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x403a18
push esi
push dword [ebp + 8]
push 1
push edi
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 0x4039fd
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x4863a0]
add esp, 4
test eax, eax
je 0x4039ea
dec dword [eax + 0xb0]
push edi
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 ebx, ebx
je 0x403a0f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
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 0x405650
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4364a8]
sub esi, 1
jne 0x405690
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x4056c7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.00417bf0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432bdd
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x43e008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4364a8]
sub edi, 1
jne 0x405760
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.00432bdd
mov esp, ebp
pop ebp
ret 4
Function at 0x407900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x4863a0]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0x47ec]
mov edx, dword [eax]
inc dword [esi + 0xa8]
mov ecx, dword [edi + 0x264]
mov dword [ebp - 4], edx
cmp dword [ecx + 0x7c], 1
jle 0x40793f
push ecx
add ecx, 0x78
call fcn.00422ee0
mov edx, dword [ebp - 4]
mov edi, dword [edi + 0x264]
mov esi, dword [edx + ebx*4 + 0x70]
mov eax, dword [edi]
test eax, eax
je 0x4079b2
cmp eax, 1
jne 0x407963
mov eax, dword [edi + 8]
cmp dword [eax + 0x1c], 0
jne 0x407963
cmp dword [eax + 0x20], 0
je 0x4079b2
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x407999
lea edx, [eax + 1]
mov dword [ebp - 8], edx
test ecx, ecx
je 0x407984
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 8]
sar eax, 1
add eax, ecx
jmp 0x407989
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.00418350
mov edx, dword [ebp - 4]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
inc dword [edx + 0x3c]
mov eax, dword [edi + 0x18]
add dword [edx + 0x44], eax
mov eax, dword [edi + 0xc]
add dword [edx + 0x40], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x188]
mov eax, dword [eax + 0x180]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x4079f2
nop dword [eax + eax]
mov ecx, dword [esi]
cmp byte [ecx + 0xaa], 0
je 0x4079eb
cmp byte [ecx + 0xb1], 0
jne 0x4079eb
mov edx, ebx
call fcn.00407900
add esi, 4
cmp esi, edi
jne 0x4079d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408b30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [0x4863a0]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov ebx, dword [esi + 0x3e60]
mov ecx, ebx
mov dword [ebp - 8], edx
mov eax, dword [ebx + 0xc]
and eax, 4
or eax, 0x1000103
or edi, eax
cmp dword [ebx + 0x190], 0
mov dword [ebp + 0x10], edi
jne 0x408b77
cmp dword [esi + 0x4a28], 0
mov eax, 0x228
je 0x408b7c
mov eax, 0x1f8
movss xmm4, dword [eax + ebx]
xorps xmm3, xmm3
movss xmm5, dword [eax + ebx + 4]
subss xmm4, dword [ecx + 0xf0]
subss xmm5, dword [ecx + 0xf4]
mov ecx, dword [ebp + 8]
movss xmm2, dword [0x43b378]
mov dword [ebp - 4], 0
mov dword [ebp + 8], 2
cvttss2si eax, dword [ecx]
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
lahf
xor ecx, ecx
test ah, 0x44
mov eax, 1
cmovnp ecx, eax
ucomiss xmm0, xmm3
lahf
test ah, 0x44
mov eax, dword [ebp - 4]
cmovnp eax, dword [ebp + 8]
or eax, ecx
comiss xmm3, xmm1
mov dword [ebp - 4], eax
jb 0x408bff
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x408bff
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x408c10
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x408c10
movaps xmm0, xmm2
or dword [esi + 0x4714], 2
mov ecx, dword [ebp - 0xc]
movss dword [esi + 0x4734], xmm1
movss dword [esi + 0x4738], xmm0
mov dword [esi + 0x471c], 1
mov eax, dword [ebx + 4]
push edx
test ecx, ecx
je 0x408c53
push ecx
push eax
push str._s__s__08X
lea eax, [ebp + 8]
push 0
push eax
call fcn.004036d0
add esp, 0x18
jmp 0x408c67
push eax
push str._s__08X
lea eax, [ebp + 8]
push 0
push eax
call fcn.004036d0
add esp, 0x14
movss xmm0, dword [esi + 0x37b8]
xor edx, edx
mov ecx, dword [ebp + 8]
push edi
movss dword [ebp - 0xc], xmm0
call fcn.0040b4c0
mov edi, dword [esi + 0x3e60]
add esp, 4
movss xmm0, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
movss dword [esi + 0x37b8], xmm0
cmp word [edi + 0xb6], 1
mov byte [ebp + 0xb], al
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov dword [edi + 0x74], edx
mov byte [edi + 0xc6], al
jne 0x408cc6
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [ebx + 0xf0], ecx
mov dword [ebx + 0xf4], eax
mov edi, edx
mov al, 0x23
not edi
mov edx, 0x435691
mov ebx, edi
cmp al, 0x23
jne 0x408ce1
cmp byte [edx], al
jne 0x408ce1
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x4364a8]
test al, al
jne 0x408cd3
mov edi, dword [ebp - 0xc]
not ebx
cmp dword [esi + 0x3eac], ebx
jne 0x408d10
xor edx, edx
xor ecx, ecx
call fcn.00405790
mov eax, dword [ebp - 8]
cmp dword [esi + 0x47fc], eax
jne 0x408d5e
test dword [ebp + 0x10], 0x800000
jne 0x408d5e
cmp word [edi + 0x14c], 0
jne 0x408d37
cmp byte [edi + 0x152], 0
je 0x408d5e
xor edx, edx
mov ecx, edi
call fcn.0040df40
xor dl, dl
mov ecx, edi
call fcn.00413430
mov edx, edi
mov ecx, ebx
call fcn.00405790
mov eax, dword [esi + 0x4820]
mov dword [esi + 0x3ecc], eax
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408fc0
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 0x408ffd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x408fe3
cmp byte [esi], bl
jne 0x408fe3
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 + 0x4364a8]
test bl, bl
jne 0x408fd4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00408f60
Function at 0x416630
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 + 0x5ae8], 0
lea esi, [edi + 0x5aec]
je 0x4166b2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41666c
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.004186b0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00403bb0
mov edx, dword [esi]
mov ecx, 0x48639c
push dword [edi + 0x5ae8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5af4]
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.00403bb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416aa0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x4863a0]
test bl, bl
je 0x416ae6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x416ac7
cmp byte [esi], bl
jne 0x416ac7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x4364a8]
test bl, bl
jne 0x416ab8
mov edi, dword [0x4863a0]
mov ecx, dword [edi + 0x5a8c]
not eax
mov edx, dword [edi + 0x5a94]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x416b0d
cmp dword [edx + 4], eax
je 0x416b10
add edx, 0x24
cmp edx, ecx
jne 0x416b01
xor eax, eax
ret
mov eax, edx
ret
Function at 0x4204c0
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 0x4204fa
mov eax, dword [0x4863a0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x4204ed
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 0x42052b
mov eax, dword [0x4863a0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x42051e
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 0x42055c
mov eax, dword [0x4863a0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x42054f
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 0x4205a9
mov eax, dword [0x4863a0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x42059c
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 0x4205da
mov eax, dword [0x4863a0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x4205cd
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 0x42060b
mov eax, dword [0x4863a0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x4205fe
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.00422dd0
Function at 0x423910
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movss dword [esp + 0x10], xmm3
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
mov eax, dword [0x4863a0]
test eax, eax
je 0x42395a
inc dword [eax + 0xb0]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
shl edx, 8
add edx, ecx
mov dword [esp + 0xc], eax
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x423a15
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x423a15
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
mov edx, dword [esp + 0xc]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x4864e8], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x4864f0], edx
shl ecx, 8
add ecx, edx
mov dword [0x4864f4], edx
add edi, ecx
mov ecx, esi
mov dword [0x4864ec], edi
call fcn.004270a0
cmp eax, esi
je 0x423a15
nop
cmp dword [0x4864f4], edi
ja 0x423a15
mov ecx, eax
mov esi, eax
call fcn.004270a0
cmp eax, esi
jne 0x423a00
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x423a29
mov ecx, 0x1e
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
jmp 0x423a69
push 0x78
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xffff
mov byte [esp + 0x2c], 1
add esp, 0xc
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], 1
mov dword [esp + 0x50], 0x7f7fffff
mov dword [esp + 0x5c], 0x3f800000
mov word [esp + 0x60], ax
movss xmm0, dword [esp + 0x10]
lea esi, [esp + 0x18]
comiss xmm0, dword [0x43b2cc]
mov eax, dword [esp + 0xc]
lea edi, [esp + 0x90]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1e
mov byte [esp + 0x98], 1
lea esi, [esp + 0x90]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
jbe 0x423ab6
movss dword [esp + 0x28], xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.00423650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4308d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4345b3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x43e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa
push dword [0x4864a0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4864a0]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [0x4863a0]
test esi, esi
je 0x430925
inc dword [esi + 0xb0]
push 0x5c88
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [ebp - 0x1d]
mov dword [ebp - 0x24], eax
add esp, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x430955
push 0
mov ecx, eax
call fcn.00401470
jmp 0x430957
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4863a0], eax
call fcn.00404aa0
mov eax, dword [0x4863a0]
test esi, esi
cmovne eax, esi
mov dword [0x4863a0], eax
call fcn.0042fac0
xor ecx, ecx
call fcn.0041f9f0
mov ecx, dword [0x4864a0]
call fcn.00428630
mov edi, dword [0x4863a0]
mov eax, dword [0x4863b8]
mov ebx, dword [0x4863c0]
mov dword [ebp - 0x24], eax
test edi, edi
je 0x4309ac
inc dword [edi + 0xb0]
push 0x40
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x430a2e
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0x1388
mov dword [esi + 0x3c], 0x2710
jmp 0x430a30
xor esi, esi
or dword [edi + 0xc], 8
lea ecx, [ebp - 0x1c]
push ecx
mov dword [edi + 0x74], esi
mov dword [edi + 0x6c], str.imgui_impl_dx11
mov eax, dword [ebx]
push 0x43ae5c
push ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [eax]
test eax, eax
jne 0x430a9f
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
push 0x43ae6c
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x430a9f
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0x43ae7c
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x430a9f
mov eax, dword [ebp - 0x24]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x430aac
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x430ab9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432bdd
mov esp, ebp
pop ebp
ret
Function at 0x433632
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test eax, eax
je 0x433671
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x433671
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x433671
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x433671
cmp dword [ecx + 0x74], 0xe
jbe 0x433671
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret