Function at 0x100076e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x1000772d
cmp byte [esi + 1], 0
je 0x1000772d
mov byte [eax], 0
mov edi, dword [esi + 0xc0]
test edi, edi
je 0x1000772d
mov ecx, edi
call fcn.10020d50
mov eax, dword [0x101c8f48]
test eax, eax
je 0x1000771e
dec dword [eax + 0x398]
push dword [0x101c8f40]
push edi
call fcn.10002640
add esp, 8
cmp byte [esi], 0
mov dword [esi + 0xc0], 0
je 0x10007f16
cmp byte [esi + 0x2ef9], 0
je 0x100077a9
mov edi, dword [esi + 0x48]
test edi, edi
je 0x100077a9
mov ebx, dword [0x101c8f48]
lea ecx, [ebp - 4]
mov dword [0x101c8f48], esi
mov dword [esi + 0x2efc], 0
mov dword [ebp - 4], 0
call fcn.100153a0
mov edx, 0x1004508c
mov dword [ebp - 8], eax
mov ecx, edi
call fcn.10002dc0
mov edi, eax
test edi, edi
je 0x100077a3
push edi
push dword [ebp - 4]
push 1
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov dword [0x101c8f48], ebx
mov edx, 6
mov ecx, esi
call fcn.10005490
mov eax, dword [esi + 0x1a64]
xor edi, edi
test eax, eax
jle 0x1000781e
test edi, edi
js 0x100077c9
cmp edi, eax
jl 0x100077e1
push 0x683
push str.C:UsersGirlDesktopArteUIimgui.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 [esi + 0x1a6c]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x10007813
mov ecx, ebx
call fcn.100049f0
mov eax, dword [0x101c8f48]
test eax, eax
je 0x10007804
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ebx
call fcn.10002640
add esp, 8
mov eax, dword [esi + 0x1a64]
inc edi
cmp edi, eax
jl 0x100077c1
mov ecx, dword [esi + 0x1a6c]
test ecx, ecx
je 0x10007864
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1a68], 0
mov dword [esi + 0x1a64], 0
test eax, eax
je 0x1000784b
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1a6c], 0
mov ecx, dword [esi + 0x1a78]
test ecx, ecx
je 0x100078aa
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1a74], 0
mov dword [esi + 0x1a70], 0
test eax, eax
je 0x10007891
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1a78], 0
mov ecx, dword [esi + 0x1a84]
test ecx, ecx
je 0x100078f0
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1a80], 0
mov dword [esi + 0x1a7c], 0
test eax, eax
je 0x100078d7
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1a84], 0
mov dword [esi + 0x1aa4], 0
mov ecx, dword [esi + 0x1a90]
test ecx, ecx
je 0x10007940
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1a8c], 0
mov dword [esi + 0x1a88], 0
test eax, eax
je 0x10007927
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1a90], 0
mov ecx, dword [esi + 0x1a9c]
test ecx, ecx
je 0x10007986
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1a98], 0
mov dword [esi + 0x1a94], 0
test eax, eax
je 0x1000796d
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1a9c], 0
mov dword [esi + 0x1bfc], 0
mov dword [esi + 0x1ab0], 0
mov dword [esi + 0x1aac], 0
mov dword [esi + 0x1aa8], 0
mov dword [esi + 0x1b1c], 0
mov dword [esi + 0x1b08], 0
mov dword [esi + 0x1ab4], 0
mov ecx, dword [esi + 0x1ba4]
test ecx, ecx
je 0x10007a12
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1ba0], 0
mov dword [esi + 0x1b9c], 0
test eax, eax
je 0x100079f9
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1ba4], 0
mov ecx, dword [esi + 0x1bb0]
test ecx, ecx
je 0x10007a58
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1bac], 0
mov dword [esi + 0x1ba8], 0
test eax, eax
je 0x10007a3f
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1bb0], 0
mov ecx, dword [esi + 0x1bbc]
test ecx, ecx
je 0x10007a9e
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1bb8], 0
mov dword [esi + 0x1bb4], 0
test eax, eax
je 0x10007a85
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1bbc], 0
mov ecx, dword [esi + 0x1bec]
test ecx, ecx
je 0x10007ae4
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1be8], 0
mov dword [esi + 0x1be4], 0
test eax, eax
je 0x10007acb
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1bec], 0
mov ecx, dword [esi + 0x1bf8]
test ecx, ecx
je 0x10007b2a
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1bf4], 0
mov dword [esi + 0x1bf0], 0
test eax, eax
je 0x10007b11
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1bf8], 0
lea edi, [esi + 0x1d6c]
mov ebx, 2
mov ecx, dword [edi]
test ecx, ecx
je 0x10007b6d
mov eax, dword [0x101c8f48]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x10007b58
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [edi], 0
add edi, 0xc
sub ebx, 1
jne 0x10007b35
lea ecx, [esi + 0x1d80]
call fcn.1001df70
lea ecx, [esi + 0x1e10]
call fcn.1001df70
lea ecx, [esi + 0x1f7c]
call fcn.10015de0
mov ecx, dword [esi + 0x1fa0]
test ecx, ecx
je 0x10007bd4
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1f9c], ebx
mov dword [esi + 0x1f98], ebx
test eax, eax
je 0x10007bbb
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1fa0], 0
mov ecx, dword [esi + 0x1fac]
test ecx, ecx
je 0x10007c1a
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1fa8], 0
mov dword [esi + 0x1fa4], 0
test eax, eax
je 0x10007c01
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1fac], 0
lea ecx, [esi + 0x1f38]
call fcn.10016000
mov ecx, dword [esi + 0x1f5c]
test ecx, ecx
je 0x10007c6b
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1f58], 0
mov dword [esi + 0x1f54], 0
test eax, eax
je 0x10007c52
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1f5c], 0
mov ecx, dword [esi + 0x1f74]
test ecx, ecx
je 0x10007cb1
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1f70], 0
mov dword [esi + 0x1f6c], 0
test eax, eax
je 0x10007c98
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1f74], 0
mov ecx, dword [esi + 0x2ed8]
test ecx, ecx
je 0x10007cf7
mov eax, dword [0x101c8f48]
mov dword [esi + 0x2ed4], 0
mov dword [esi + 0x2ed0], 0
test eax, eax
je 0x10007cde
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x2ed8], 0
mov ecx, dword [esi + 0x2ee4]
test ecx, ecx
je 0x10007d3d
mov eax, dword [0x101c8f48]
mov dword [esi + 0x2ee0], 0
mov dword [esi + 0x2edc], 0
test eax, eax
je 0x10007d24
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x2ee4], 0
mov ecx, dword [esi + 0x1fcc]
test ecx, ecx
je 0x10007d83
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1fc8], 0
mov dword [esi + 0x1fc4], 0
test eax, eax
je 0x10007d6a
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1fcc], 0
mov ecx, dword [esi + 0x1fd8]
test ecx, ecx
je 0x10007dc9
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1fd4], 0
mov dword [esi + 0x1fd0], 0
test eax, eax
je 0x10007db0
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1fd8], 0
mov ecx, dword [esi + 0x1fe4]
test ecx, ecx
je 0x10007e0f
mov eax, dword [0x101c8f48]
mov dword [esi + 0x1fe0], 0
mov dword [esi + 0x1fdc], 0
test eax, eax
je 0x10007df6
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x1fe4], 0
mov ecx, dword [esi + 0x2f20]
test ecx, ecx
je 0x10007e55
mov eax, dword [0x101c8f48]
mov dword [esi + 0x2f1c], 0
mov dword [esi + 0x2f18], 0
test eax, eax
je 0x10007e3c
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x2f20], 0
mov ecx, dword [esi + 0x2f14]
test ecx, ecx
je 0x10007e9b
mov eax, dword [0x101c8f48]
mov dword [esi + 0x2f10], 0
mov dword [esi + 0x2f0c], 0
test eax, eax
je 0x10007e82
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x2f14], 0
cmp dword [esi + 0x2f44], 0
je 0x10007ecd
mov edi, dword [esi + 0x2f44]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
cmp edi, eax
je 0x10007ec3
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [esi + 0x2f44], 0
mov ecx, dword [esi + 0x2f50]
test ecx, ecx
je 0x10007f13
mov eax, dword [0x101c8f48]
mov dword [esi + 0x2f4c], 0
mov dword [esi + 0x2f48], 0
test eax, eax
je 0x10007efa
dec dword [eax + 0x398]
push dword [0x101c8f40]
push ecx
call fcn.10002640
add esp, 8
mov dword [esi + 0x2f50], 0
mov byte [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret