Function at 0x406c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d510
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x44c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x44c4a8]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [ebx + 0x70], 0
je 0x406c4e
push 0xe18
push str.C:UsersEvan_source_reposmeowclickermeowclickerimguiimgui.cpp
push str._g.IO.BackendPlatformUserData__0____Forgot_to_shutdown_Platform_backend__
call esi
add esp, 0xc
cmp dword [ebx + 0x74], 0
je 0x406c68
push 0xe19
push str.C:UsersEvan_source_reposmeowclickermeowclickerimguiimgui.cpp
push str._g.IO.BackendRendererUserData__0____Forgot_to_shutdown_Renderer_backend__
call esi
add esp, 0xc
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x406c81
cmp byte [ebx + 1], 0
je 0x406c81
mov byte [eax + 0x10], 0
mov ecx, dword [ebx + 0x2c]
call fcn.0041e820
lea ecx, [ebx + 0x3d28]
mov dword [ebx + 0x2c], 0
call fcn.004020c0
cmp byte [ebx], 0
je 0x4074ba
cmp byte [ebx + 0x5d58], 0
je 0x406cfc
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x406cfc
mov eax, dword [0x44c4a8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [eax + 0x5d5c], 0
call fcn.0041c380
mov edx, 0x442e8c
mov ecx, esi
mov edi, eax
call fcn.00404f80
mov esi, eax
test esi, esi
je 0x406cfc
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 1
push edi
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
mov eax, dword [ebx + 0x5d90]
mov esi, dword [ebx + 0x5d98]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x406d29
cmp dword [esi + 4], 6
jne 0x406d22
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x406d12
lea ecx, [ebx + 0x3f40]
mov dword [ebp - 0x10], 6
xor esi, esi
cmp dword [ecx], esi
jle 0x406dc0
mov eax, dword [ecx + 8]
mov edi, dword [eax + esi*4]
test edi, edi
je 0x406dbb
mov ecx, edi
call fcn.00407d00
mov ecx, dword [0x44c4a8]
test ecx, ecx
je 0x406dab
movsx eax, word [ecx + 0x5e6c]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbce
mov dword [ebp - 0x14], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x406da1
movsx eax, word [ecx + 0x5e6c]
inc eax
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov edx, dword [ebp - 0x14]
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebx + 0x3f40]
inc esi
cmp esi, dword [ecx]
jl 0x406d40
call fcn.004020c0
lea ecx, [ebx + 0x3f4c]
call fcn.004020c0
lea ecx, [ebx + 0x3f58]
call fcn.004020c0
mov dword [ebx + 0x3f88], 0
mov esi, dword [ebx + 0x3f6c]
test esi, esi
je 0x406e6e
mov ecx, dword [0x44c4a8]
mov dword [ebx + 0x3f68], 0
mov dword [ebx + 0x3f64], 0
test ecx, ecx
je 0x406e56
movsx edx, word [ecx + 0x5e6c]
lea eax, [ecx + 0x5e70]
mov edi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x406e4c
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], edi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
add esp, 4
mov dword [ebx + 0x3f6c], 0
jmp 0x406e74
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea ecx, [ebx + 0x3f70]
call fcn.004020c0
or eax, 0xffffffff
mov dword [ebx + 0x4a04], 0
mov dword [ebx + 0x3f90], 0
lea edi, [ebx + 0x474c]
mov dword [ebx + 0x3f8c], 0
mov ecx, 0x4d
mov dword [ebx + 0x4008], 0
mov dword [ebx + 0x3ff4], 0
mov dword [ebx + 0x3f94], 0
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0x4880]
call fcn.004020c0
lea ecx, [ebx + 0x488c]
call fcn.004020c0
mov edi, dword [ebx + 0x4990]
test edi, edi
je 0x406f6d
mov ecx, dword [0x44c4a8]
mov dword [ebx + 0x498c], 0
mov dword [ebx + 0x4988], 0
test ecx, ecx
je 0x406f5d
movsx eax, word [ecx + 0x5e6c]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbce
mov dword [ebp - 0x14], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x406f53
movsx eax, word [ecx + 0x5e6c]
inc eax
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov edx, dword [ebp - 0x14]
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push edi
call esi
add esp, 4
mov dword [ebx + 0x4990], 0
mov edi, dword [ebx + 0x499c]
test edi, edi
je 0x406ff9
mov ecx, dword [0x44c4a8]
mov dword [ebx + 0x4998], 0
mov dword [ebx + 0x4994], 0
test ecx, ecx
je 0x406fe9
movsx eax, word [ecx + 0x5e6c]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbce
mov dword [ebp - 0x14], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x406fdf
movsx eax, word [ecx + 0x5e6c]
inc eax
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov edx, dword [ebp - 0x14]
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push edi
call esi
add esp, 4
mov dword [ebx + 0x499c], 0
lea ecx, [ebx + 0x49a0]
call fcn.004020c0
lea ecx, [ebx + 0x49d0]
call fcn.004020c0
lea ecx, [ebx + 0x49dc]
call fcn.004020c0
mov edi, dword [ebx + 0x49f0]
test edi, edi
je 0x4070a6
mov ecx, dword [0x44c4a8]
mov dword [ebx + 0x49ec], 0
mov dword [ebx + 0x49e8], 0
test ecx, ecx
je 0x407096
movsx eax, word [ecx + 0x5e6c]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbce
mov dword [ebp - 0x14], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x40708c
movsx eax, word [ecx + 0x5e6c]
inc eax
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov edx, dword [ebp - 0x14]
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push edi
call esi
add esp, 4
mov dword [ebx + 0x49f0], 0
lea ecx, [ebx + 0x49f8]
call fcn.0041d710
lea ecx, [ebx + 0x4ce4]
call fcn.0041d420
mov edi, dword [ebx + 0x4d0c]
test edi, edi
je 0x407148
mov ecx, dword [0x44c4a8]
mov dword [ebx + 0x4d08], 0
mov dword [ebx + 0x4d04], 0
test ecx, ecx
je 0x407138
movsx eax, word [ecx + 0x5e6c]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbce
mov dword [ebp - 0x14], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x40712e
movsx eax, word [ecx + 0x5e6c]
inc eax
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov edx, dword [ebp - 0x14]
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push edi
call esi
add esp, 4
mov dword [ebx + 0x4d0c], 0
mov edi, dword [ebx + 0x4d18]
test edi, edi
je 0x4071d4
mov ecx, dword [0x44c4a8]
mov dword [ebx + 0x4d14], 0
mov dword [ebx + 0x4d10], 0
test ecx, ecx
je 0x4071c4
movsx eax, word [ecx + 0x5e6c]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbce
mov dword [ebp - 0x14], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x4071ba
movsx eax, word [ecx + 0x5e6c]
inc eax
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov edx, dword [ebp - 0x14]
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push edi
call esi
add esp, 4
mov dword [ebx + 0x4d18], 0
xor edi, edi
lea eax, [ebx + 0x4c90]
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x4c88], edi
jle 0x407213
xor esi, esi
nop dword [eax]
mov ecx, dword [eax]
add ecx, esi
call fcn.00402610
inc edi
lea eax, [ebx + 0x4c90]
add esi, 0x1c
cmp edi, dword [ebx + 0x4c88]
jl 0x4071f0
lea eax, [ebx + 0x4c90]
jmp 0x407216
mov dword [ebp - 0x14], eax
mov esi, dword [eax]
test esi, esi
je 0x407292
mov ecx, dword [0x44c4a8]
mov dword [ebx + 0x4c8c], 0
mov dword [ebx + 0x4c88], 0
test ecx, ecx
je 0x40727f
movsx edx, word [ecx + 0x5e6c]
lea eax, [ecx + 0x5e70]
mov edi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x407275
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], edi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [eax], 0
lea ecx, [ebx + 0x4ca8]
call fcn.0041d5a0
cmp dword [ebx + 0x4c9c], 0
mov dword [ebp - 0x14], 0
jle 0x4072ea
xor edi, edi
nop
mov esi, dword [ebx + 0x4ca4]
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 0
add ecx, edi
call fcn.00429490
lea ecx, [esi + 0x1c]
add ecx, edi
call fcn.0041d380
mov eax, dword [ebp - 0x14]
add edi, 0x6c
inc eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
cmp eax, dword [ebx + 0x4c9c]
jl 0x4072b0
mov esi, dword [ebx + 0x4ca4]
test esi, esi
je 0x40736f
mov ecx, dword [0x44c4a8]
mov dword [ebx + 0x4ca0], 0
mov dword [ebx + 0x4c9c], 0
test ecx, ecx
je 0x407357
movsx edx, word [ecx + 0x5e6c]
lea eax, [ecx + 0x5e70]
mov edi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x40734d
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], edi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
add esp, 4
mov dword [ebx + 0x4ca4], 0
jmp 0x407375
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea ecx, [ebx + 0x4cd4]
call fcn.004020c0
lea ecx, [ebx + 0x5cc0]
call fcn.004020c0
lea ecx, [ebx + 0x5ccc]
call fcn.004020c0
lea ecx, [ebx + 0x4d54]
call fcn.004020c0
lea ecx, [ebx + 0x4d60]
call fcn.004020c0
lea ecx, [ebx + 0x4d6c]
call fcn.004020c0
lea ecx, [ebx + 0x5bc0]
mov dword [ebx + 0x5bbc], 0
call fcn.004020c0
lea ecx, [ebx + 0x5d78]
call fcn.004020c0
mov eax, dword [ebx + 0x5d74]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40745a
mov ecx, dword [0x44c4a8]
mov dword [ebx + 0x5d70], 0
mov dword [ebx + 0x5d6c], 0
test ecx, ecx
je 0x40744a
movsx edx, word [ecx + 0x5e6c]
lea eax, [ecx + 0x5e70]
mov edi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x40743d
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov word [ecx + 0x5e6c], ax
cwde
add eax, 0xbce
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], edi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e68]
mov eax, dword [ebp - 0x14]
push eax
call esi
add esp, 4
mov dword [ebx + 0x5d74], 0
cmp dword [ebx + 0x5dc8], 0
je 0x40748c
mov esi, dword [ebx + 0x5dc8]
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 0x407482
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [ebx + 0x5dc8], 0
lea ecx, [ebx + 0x5dcc]
call fcn.004020c0
lea ecx, [ebx + 0x5df8]
call fcn.004020c0
lea ecx, [ebx + 0x5e04]
call fcn.004020c0
mov dword [ebx + 0x5e10], 0
mov byte [ebx], 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