Function at 0x1000afa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057c70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1006c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100726d8]
mov edi, eax
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x1000b00f
cmp byte [edi + 1], 0
je 0x1000b00f
mov byte [ecx + 0x10], 0
mov esi, dword [edi + 0x40]
test esi, esi
je 0x1000b00f
push ecx
mov ecx, esi
call fcn.1002c2f0
mov eax, dword [0x100726d8]
test eax, eax
je 0x1000b004
dec dword [eax + 0xb0]
push esi
call ebx
mov eax, dword [0x100726d8]
add esp, 4
cmp byte [edi], 0
mov dword [edi + 0x40], 0
je 0x1000b8b0
cmp byte [edi + 0x5368], 0
je 0x1000b07d
mov esi, dword [edi + 0x20]
test esi, esi
je 0x1000b07d
lea ecx, [ebp - 0x10]
mov dword [eax + 0x536c], 0
mov dword [ebp - 0x10], 0
call fcn.1001ce70
mov edx, 0x10062e84
mov dword [ebp - 0x14], eax
mov ecx, esi
call fcn.10005390
mov esi, eax
test esi, esi
je 0x1000b07d
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0
push 1
push dword [ebp - 0x14]
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
call fcn.1001fe40
mov eax, dword [edi + 0x5340]
xor esi, esi
test eax, eax
jle 0x1000b0ea
nop
test esi, esi
js 0x1000b098
cmp esi, eax
jl 0x1000b0b0
push 0x74d
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_RANPINAS1ImGui_StandaloneImGuiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0x5348]
mov eax, dword [eax + esi*8 + 4]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000b0df
mov ecx, eax
call fcn.100219d0
mov eax, dword [0x100726d8]
test eax, eax
je 0x1000b0d7
dec dword [eax + 0xb0]
push dword [ebp - 0x14]
call ebx
add esp, 4
mov eax, dword [edi + 0x5340]
inc esi
cmp esi, eax
jl 0x1000b090
mov edx, 6
mov ecx, edi
call fcn.100082a0
xor esi, esi
lea ecx, [edi + 0x3ec4]
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x3ebc], esi
jle 0x1000b14b
nop dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000b140
mov ecx, eax
call fcn.10007850
mov eax, dword [0x100726d8]
test eax, eax
je 0x1000b132
dec dword [eax + 0xb0]
push dword [ebp - 0x14]
call ebx
add esp, 4
lea ecx, [edi + 0x3ec4]
inc esi
cmp esi, dword [edi + 0x3ebc]
jl 0x1000b110
jmp 0x1000b14e
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x1000b186
mov eax, dword [0x100726d8]
mov dword [edi + 0x3ec0], 0
mov dword [edi + 0x3ebc], 0
test eax, eax
je 0x1000b177
dec dword [eax + 0xb0]
push ecx
call ebx
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [eax], 0
mov ecx, dword [edi + 0x3ed0]
test ecx, ecx
je 0x1000b1c3
mov eax, dword [0x100726d8]
mov dword [edi + 0x3ecc], 0
mov dword [edi + 0x3ec8], 0
test eax, eax
je 0x1000b1b3
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3ed0], 0
mov ecx, dword [edi + 0x3edc]
test ecx, ecx
je 0x1000b200
mov eax, dword [0x100726d8]
mov dword [edi + 0x3ed8], 0
mov dword [edi + 0x3ed4], 0
test eax, eax
je 0x1000b1f0
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3edc], 0
mov dword [edi + 0x3f04], 0
mov ecx, dword [edi + 0x3ee8]
test ecx, ecx
je 0x1000b247
mov eax, dword [0x100726d8]
mov dword [edi + 0x3ee4], 0
mov dword [edi + 0x3ee0], 0
test eax, eax
je 0x1000b237
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3ee8], 0
mov ecx, dword [edi + 0x3ef4]
test ecx, ecx
je 0x1000b284
mov eax, dword [0x100726d8]
mov dword [edi + 0x3ef0], 0
mov dword [edi + 0x3eec], 0
test eax, eax
je 0x1000b274
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3ef4], 0
mov dword [edi + 0x4120], 0
mov dword [edi + 0x3f0c], 0
mov dword [edi + 0x3f08], 0
mov dword [edi + 0x3f8c], 0
mov dword [edi + 0x3f78], 0
mov dword [edi + 0x3f14], 0
mov ecx, dword [edi + 0x407c]
test ecx, ecx
je 0x1000b2fd
mov eax, dword [0x100726d8]
mov dword [edi + 0x4078], 0
mov dword [edi + 0x4074], 0
test eax, eax
je 0x1000b2ed
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x407c], 0
mov ecx, dword [edi + 0x4088]
test ecx, ecx
je 0x1000b33a
mov eax, dword [0x100726d8]
mov dword [edi + 0x4084], 0
mov dword [edi + 0x4080], 0
test eax, eax
je 0x1000b32a
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4088], 0
mov ecx, dword [edi + 0x4094]
test ecx, ecx
je 0x1000b377
mov eax, dword [0x100726d8]
mov dword [edi + 0x4090], 0
mov dword [edi + 0x408c], 0
test eax, eax
je 0x1000b367
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4094], 0
mov ecx, dword [edi + 0x40c4]
test ecx, ecx
je 0x1000b3b4
mov eax, dword [0x100726d8]
mov dword [edi + 0x40c0], 0
mov dword [edi + 0x40bc], 0
test eax, eax
je 0x1000b3a4
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x40c4], 0
mov ecx, dword [edi + 0x40d0]
test ecx, ecx
je 0x1000b3f1
mov eax, dword [0x100726d8]
mov dword [edi + 0x40cc], 0
mov dword [edi + 0x40c8], 0
test eax, eax
je 0x1000b3e1
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x40d0], 0
xor esi, esi
mov dword [edi + 0x40f0], 0
mov dword [edi + 0x40ec], 0
lea eax, [edi + 0x40e0]
mov dword [edi + 0x40e8], 0
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x40d8], esi
jle 0x1000b447
mov ecx, dword [edi + 0x40e0]
mov ecx, dword [ecx + esi*4]
call fcn.1002bc50
inc esi
cmp esi, dword [edi + 0x40d8]
jl 0x1000b422
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea eax, [edi + 0x40e0]
jmp 0x1000b44a
mov dword [ebp - 0x10], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1000b482
mov eax, dword [0x100726d8]
mov dword [edi + 0x40dc], 0
mov dword [edi + 0x40d8], 0
test eax, eax
je 0x1000b473
dec dword [eax + 0xb0]
push ecx
call ebx
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [eax], 0
lea ecx, [edi + 0x4380]
call fcn.1002ac30
mov ecx, dword [edi + 0x43a8]
test ecx, ecx
je 0x1000b4ca
mov eax, dword [0x100726d8]
mov dword [edi + 0x43a4], 0
mov dword [edi + 0x43a0], 0
test eax, eax
je 0x1000b4ba
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x43a8], 0
mov ecx, dword [edi + 0x43b4]
test ecx, ecx
je 0x1000b507
mov eax, dword [0x100726d8]
mov dword [edi + 0x43b0], 0
mov dword [edi + 0x43ac], 0
test eax, eax
je 0x1000b4f7
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x43b4], 0
xor esi, esi
lea eax, [edi + 0x432c]
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x4324], esi
jle 0x1000b566
xor ecx, ecx
mov dword [ebp - 0x10], ecx
nop
mov eax, dword [eax]
mov edx, dword [eax + ecx + 0x18]
test edx, edx
je 0x1000b542
mov eax, dword [0x100726d8]
test eax, eax
je 0x1000b539
dec dword [eax + 0xb0]
push edx
call ebx
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0x432c]
inc esi
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
cmp esi, dword [edi + 0x4324]
jl 0x1000b520
lea eax, [edi + 0x432c]
jmp 0x1000b569
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1000b5a1
mov eax, dword [0x100726d8]
mov dword [edi + 0x4328], 0
mov dword [edi + 0x4324], 0
test eax, eax
je 0x1000b592
dec dword [eax + 0xb0]
push ecx
call ebx
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [eax], 0
lea ecx, [edi + 0x4344]
call fcn.1002ae30
cmp dword [edi + 0x4338], 0
lea esi, [edi + 0x4340]
mov dword [ebp - 0x14], 0
jle 0x1000b621
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, dword [esi]
add esi, ecx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 1
call fcn.100367d0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000b5f6
mov eax, dword [0x100726d8]
test eax, eax
je 0x1000b5f0
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov eax, dword [ebp - 0x14]
lea esi, [edi + 0x4340]
mov dword [ebp - 4], 0xffffffff
inc eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, dword [edi + 0x4338]
jl 0x1000b5c7
lea esi, [edi + 0x4340]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000b656
mov eax, dword [0x100726d8]
mov dword [edi + 0x433c], 0
mov dword [edi + 0x4338], 0
test eax, eax
je 0x1000b64a
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [esi], 0
mov ecx, dword [edi + 0x4378]
test ecx, ecx
je 0x1000b693
mov eax, dword [0x100726d8]
mov dword [edi + 0x4374], 0
mov dword [edi + 0x4370], 0
test eax, eax
je 0x1000b683
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4378], 0
mov ecx, dword [edi + 0x5308]
test ecx, ecx
je 0x1000b6d0
mov eax, dword [0x100726d8]
mov dword [edi + 0x5304], 0
mov dword [edi + 0x5300], 0
test eax, eax
je 0x1000b6c0
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5308], 0
mov ecx, dword [edi + 0x5314]
test ecx, ecx
je 0x1000b70d
mov eax, dword [0x100726d8]
mov dword [edi + 0x5310], 0
mov dword [edi + 0x530c], 0
test eax, eax
je 0x1000b6fd
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5314], 0
mov ecx, dword [edi + 0x43d4]
test ecx, ecx
je 0x1000b74a
mov eax, dword [0x100726d8]
mov dword [edi + 0x43d0], 0
mov dword [edi + 0x43cc], 0
test eax, eax
je 0x1000b73a
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x43d4], 0
mov ecx, dword [edi + 0x43e0]
test ecx, ecx
je 0x1000b787
mov eax, dword [0x100726d8]
mov dword [edi + 0x43dc], 0
mov dword [edi + 0x43d8], 0
test eax, eax
je 0x1000b777
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x43e0], 0
mov ecx, dword [edi + 0x43ec]
test ecx, ecx
je 0x1000b7c4
mov eax, dword [0x100726d8]
mov dword [edi + 0x43e8], 0
mov dword [edi + 0x43e4], 0
test eax, eax
je 0x1000b7b4
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x43ec], 0
mov ecx, dword [edi + 0x5390]
test ecx, ecx
je 0x1000b801
mov eax, dword [0x100726d8]
mov dword [edi + 0x538c], 0
mov dword [edi + 0x5388], 0
test eax, eax
je 0x1000b7f1
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5390], 0
mov ecx, dword [edi + 0x5384]
test ecx, ecx
je 0x1000b83e
mov eax, dword [0x100726d8]
mov dword [edi + 0x5380], 0
mov dword [edi + 0x537c], 0
test eax, eax
je 0x1000b82e
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5384], 0
cmp dword [edi + 0x53b8], 0
je 0x1000b870
mov esi, dword [edi + 0x53b8]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
cmp esi, eax
je 0x1000b866
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [edi + 0x53b8], 0
mov ecx, dword [edi + 0x53c4]
test ecx, ecx
je 0x1000b8ad
mov eax, dword [0x100726d8]
mov dword [edi + 0x53c0], 0
mov dword [edi + 0x53bc], 0
test eax, eax
je 0x1000b89d
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x53c4], 0
mov byte [edi], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret