Function at 0x40fc80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [0x52a278]
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x40fcc7
cmp byte [edi + 1], 0
je 0x40fcc7
mov byte [eax + 0x10], 0
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x40fcc7
mov ecx, esi
call fcn.00478330
mov eax, dword [0x52a278]
test eax, eax
je 0x40fcbe
dec dword [eax + 0xb8]
push esi
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x2c], 0
mov ecx, dword [edi + 0x3cdc]
test ecx, ecx
je 0x40fd0e
mov eax, dword [0x52a278]
mov dword [edi + 0x3cd8], 0
mov dword [edi + 0x3cd4], 0
test eax, eax
je 0x40fcfb
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x3cdc], 0
cmp byte [edi], 0
je 0x4106fa
cmp byte [edi + 0x5c9c], 0
je 0x40fd71
mov esi, dword [edi + 0x20]
test esi, esi
je 0x40fd71
mov eax, dword [0x52a278]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [eax + 0x5ca0], 0
call fcn.00429260
mov edx, 0x4fd64c
mov ecx, esi
mov ebx, eax
call fcn.0040bbd0
mov esi, eax
test esi, esi
je 0x40fd71
push esi
push dword [esp + 0x10]
push 1
push ebx
call fcn.004cc9a3
push esi
call fcn.004cbe0a
add esp, 0x14
mov eax, dword [0x52a278]
mov esi, dword [eax + 0x48f4]
mov eax, dword [eax + 0x48ec]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x40fd9e
nop dword [eax]
mov ecx, dword [esi]
call fcn.0042c100
add esi, 4
cmp esi, ebx
jne 0x40fd90
mov eax, dword [edi + 0x5c70]
xor esi, esi
test eax, eax
jle 0x40fe07
nop word [eax + eax]
test esi, esi
js 0x40fdb8
cmp esi, eax
jl 0x40fdcf
push 0x781
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.h
push str.i___0__i___Size
call fcn.004cb34c
add esp, 0xc
mov eax, dword [edi + 0x5c78]
mov ebx, dword [eax + esi*8 + 4]
test ebx, ebx
je 0x40fdfc
mov ecx, ebx
call fcn.0042de20
mov eax, dword [0x52a278]
test eax, eax
je 0x40fdf3
dec dword [eax + 0xb8]
push ebx
call fcn.004ccba1
add esp, 4
mov eax, dword [edi + 0x5c70]
inc esi
cmp esi, eax
jl 0x40fdb0
mov eax, dword [edi + 0x5cd4]
mov esi, dword [edi + 0x5cdc]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x40fe37
nop dword [eax]
cmp dword [esi + 4], 6
jne 0x40fe30
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x40fe20
xor esi, esi
cmp dword [edi + 0x3eec], esi
jle 0x40fe76
mov eax, dword [edi + 0x3ef4]
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x40fe6d
mov ecx, ebx
call fcn.00410ce0
mov eax, dword [0x52a278]
test eax, eax
je 0x40fe64
dec dword [eax + 0xb8]
push ebx
call fcn.004ccba1
add esp, 4
inc esi
cmp esi, dword [edi + 0x3eec]
jl 0x40fe41
mov ecx, dword [edi + 0x3ef4]
test ecx, ecx
je 0x40feb6
mov eax, dword [0x52a278]
mov dword [edi + 0x3ef0], 0
mov dword [edi + 0x3eec], 0
test eax, eax
je 0x40fea3
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x3ef4], 0
mov ecx, dword [edi + 0x3f00]
test ecx, ecx
je 0x40fef6
mov eax, dword [0x52a278]
mov dword [edi + 0x3efc], 0
mov dword [edi + 0x3ef8], 0
test eax, eax
je 0x40fee3
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x3f00], 0
mov ecx, dword [edi + 0x3f0c]
test ecx, ecx
je 0x40ff36
mov eax, dword [0x52a278]
mov dword [edi + 0x3f08], 0
mov dword [edi + 0x3f04], 0
test eax, eax
je 0x40ff23
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x3f0c], 0
mov dword [edi + 0x3f34], 0
mov ecx, dword [edi + 0x3f18]
test ecx, ecx
je 0x40ff80
mov eax, dword [0x52a278]
mov dword [edi + 0x3f14], 0
mov dword [edi + 0x3f10], 0
test eax, eax
je 0x40ff6d
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x3f18], 0
mov ecx, dword [edi + 0x3f24]
test ecx, ecx
je 0x40ffc0
mov eax, dword [0x52a278]
mov dword [edi + 0x3f20], 0
mov dword [edi + 0x3f1c], 0
test eax, eax
je 0x40ffad
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x3f24], 0
lea ecx, [edi + 0x464c]
mov dword [edi + 0x4940], 0
mov dword [edi + 0x3f3c], 0
mov dword [edi + 0x3f38], 0
mov dword [edi + 0x3fb0], 0
mov dword [edi + 0x3f9c], 0
mov dword [edi + 0x3f40], 0
call fcn.00408e50
mov ecx, dword [edi + 0x4884]
test ecx, ecx
je 0x410047
mov eax, dword [0x52a278]
mov dword [edi + 0x4880], 0
mov dword [edi + 0x487c], 0
test eax, eax
je 0x410034
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4884], 0
mov ecx, dword [edi + 0x4890]
test ecx, ecx
je 0x410087
mov eax, dword [0x52a278]
mov dword [edi + 0x488c], 0
mov dword [edi + 0x4888], 0
test eax, eax
je 0x410074
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4890], 0
mov ecx, dword [edi + 0x489c]
test ecx, ecx
je 0x4100c7
mov eax, dword [0x52a278]
mov dword [edi + 0x4898], 0
mov dword [edi + 0x4894], 0
test eax, eax
je 0x4100b4
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x489c], 0
mov ecx, dword [edi + 0x48cc]
test ecx, ecx
je 0x410107
mov eax, dword [0x52a278]
mov dword [edi + 0x48c8], 0
mov dword [edi + 0x48c4], 0
test eax, eax
je 0x4100f4
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x48cc], 0
mov ecx, dword [edi + 0x48d8]
test ecx, ecx
je 0x410147
mov eax, dword [0x52a278]
mov dword [edi + 0x48d4], 0
mov dword [edi + 0x48d0], 0
test eax, eax
je 0x410134
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x48d8], 0
mov ecx, dword [edi + 0x48e4]
test ecx, ecx
je 0x410187
mov eax, dword [0x52a278]
mov dword [edi + 0x48e0], 0
mov dword [edi + 0x48dc], 0
test eax, eax
je 0x410174
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x48e4], 0
xor esi, esi
mov dword [edi + 0x4904], 0
mov dword [edi + 0x4900], 0
mov dword [edi + 0x48fc], 0
cmp dword [edi + 0x48ec], esi
jle 0x4101c7
nop
mov ecx, dword [edi + 0x48f4]
mov ecx, dword [ecx + esi*4]
call fcn.00442f80
inc esi
cmp esi, dword [edi + 0x48ec]
jl 0x4101b0
mov ecx, dword [edi + 0x48f4]
test ecx, ecx
je 0x410207
mov eax, dword [0x52a278]
mov dword [edi + 0x48f0], 0
mov dword [edi + 0x48ec], 0
test eax, eax
je 0x4101f4
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x48f4], 0
lea ecx, [edi + 0x4c0c]
call fcn.00441dc0
mov ecx, dword [edi + 0x4c34]
test ecx, ecx
je 0x410252
mov eax, dword [0x52a278]
mov dword [edi + 0x4c30], 0
mov dword [edi + 0x4c2c], 0
test eax, eax
je 0x41023f
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4c34], 0
mov ecx, dword [edi + 0x4c40]
test ecx, ecx
je 0x410292
mov eax, dword [0x52a278]
mov dword [edi + 0x4c3c], 0
mov dword [edi + 0x4c38], 0
test eax, eax
je 0x41027f
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4c40], 0
xor esi, esi
cmp dword [edi + 0x4bb0], esi
jle 0x4102d2
xor ebx, ebx
nop
mov eax, dword [edi + 0x4bb8]
mov ecx, dword [eax + ebx + 0x18]
test ecx, ecx
je 0x4102c6
mov eax, dword [0x52a278]
test eax, eax
je 0x4102bd
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
inc esi
add ebx, 0x1c
cmp esi, dword [edi + 0x4bb0]
jl 0x4102a0
mov ecx, dword [edi + 0x4bb8]
test ecx, ecx
je 0x410312
mov eax, dword [0x52a278]
mov dword [edi + 0x4bb4], 0
mov dword [edi + 0x4bb0], 0
test eax, eax
je 0x4102ff
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4bb8], 0
lea ecx, [edi + 0x4bd0]
call fcn.00441ef0
xor ebx, ebx
cmp dword [edi + 0x4bc4], ebx
jle 0x410373
xor ecx, ecx
mov dword [esp + 0xc], ecx
nop dword [eax]
mov esi, dword [edi + 0x4bcc]
add esi, ecx
lea ecx, [esi + 0x10]
call fcn.00477910
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41035f
mov eax, dword [0x52a278]
test eax, eax
je 0x410356
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov ecx, dword [esp + 0xc]
inc ebx
add ecx, 0x68
mov dword [esp + 0xc], ecx
cmp ebx, dword [edi + 0x4bc4]
jl 0x410330
mov ecx, dword [edi + 0x4bcc]
test ecx, ecx
je 0x4103b3
mov eax, dword [0x52a278]
mov dword [edi + 0x4bc8], 0
mov dword [edi + 0x4bc4], 0
test eax, eax
je 0x4103a0
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4bcc], 0
mov ecx, dword [edi + 0x4c04]
test ecx, ecx
je 0x4103f3
mov eax, dword [0x52a278]
mov dword [edi + 0x4c00], 0
mov dword [edi + 0x4bfc], 0
test eax, eax
je 0x4103e0
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4c04], 0
mov ecx, dword [edi + 0x5bdc]
test ecx, ecx
je 0x410433
mov eax, dword [0x52a278]
mov dword [edi + 0x5bd8], 0
mov dword [edi + 0x5bd4], 0
test eax, eax
je 0x410420
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x5bdc], 0
mov ecx, dword [edi + 0x5be8]
test ecx, ecx
je 0x410473
mov eax, dword [0x52a278]
mov dword [edi + 0x5be4], 0
mov dword [edi + 0x5be0], 0
test eax, eax
je 0x410460
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x5be8], 0
mov ecx, dword [edi + 0x4c84]
test ecx, ecx
je 0x4104b3
mov eax, dword [0x52a278]
mov dword [edi + 0x4c80], 0
mov dword [edi + 0x4c7c], 0
test eax, eax
je 0x4104a0
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4c84], 0
mov ecx, dword [edi + 0x4c90]
test ecx, ecx
je 0x4104f3
mov eax, dword [0x52a278]
mov dword [edi + 0x4c8c], 0
mov dword [edi + 0x4c88], 0
test eax, eax
je 0x4104e0
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4c90], 0
mov ecx, dword [edi + 0x4c9c]
test ecx, ecx
je 0x410533
mov eax, dword [0x52a278]
mov dword [edi + 0x4c98], 0
mov dword [edi + 0x4c94], 0
test eax, eax
je 0x410520
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x4c9c], 0
mov dword [edi + 0x5ae4], 0
mov ecx, dword [edi + 0x5af0]
test ecx, ecx
je 0x41057d
mov eax, dword [0x52a278]
mov dword [edi + 0x5aec], 0
mov dword [edi + 0x5ae8], 0
test eax, eax
je 0x41056a
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x5af0], 0
mov ecx, dword [edi + 0x5cc4]
test ecx, ecx
je 0x4105bd
mov eax, dword [0x52a278]
mov dword [edi + 0x5cc0], 0
mov dword [edi + 0x5cbc], 0
test eax, eax
je 0x4105aa
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x5cc4], 0
mov ecx, dword [edi + 0x5cb8]
test ecx, ecx
je 0x4105fd
mov eax, dword [0x52a278]
mov dword [edi + 0x5cb4], 0
mov dword [edi + 0x5cb0], 0
test eax, eax
je 0x4105ea
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x5cb8], 0
cmp dword [edi + 0x5d14], 0
je 0x41062d
mov esi, dword [edi + 0x5d14]
push 1
call fcn.004c2908
add esp, 4
cmp esi, eax
je 0x410623
push esi
call fcn.004cbe0a
add esp, 4
mov dword [edi + 0x5d14], 0
mov ecx, dword [edi + 0x5d20]
test ecx, ecx
je 0x41066d
mov eax, dword [0x52a278]
mov dword [edi + 0x5d1c], 0
mov dword [edi + 0x5d18], 0
test eax, eax
je 0x41065a
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x5d20], 0
mov ecx, dword [edi + 0x5d4c]
test ecx, ecx
je 0x4106ad
mov eax, dword [0x52a278]
mov dword [edi + 0x5d48], 0
mov dword [edi + 0x5d44], 0
test eax, eax
je 0x41069a
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x5d4c], 0
mov ecx, dword [edi + 0x5d58]
test ecx, ecx
je 0x4106ed
mov eax, dword [0x52a278]
mov dword [edi + 0x5d54], 0
mov dword [edi + 0x5d50], 0
test eax, eax
je 0x4106da
dec dword [eax + 0xb8]
push ecx
call fcn.004ccba1
add esp, 4
mov dword [edi + 0x5d58], 0
mov dword [edi + 0x5d5c], 0
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret