Function at 0x43d5c0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x42f100
push ebx
mov esi, ecx
mov dword [esp + 0x18], 0
call fcn.0043d0b0
mov edi, eax
test edi, edi
jns 0x43d654
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.00435760
cmp dword [0x441604], 0
je 0x43d8a1
push 0x42f11c
push dword [esp + 0x18]
push edi
push 0x42b728
push 7
push 0xfffffffffffffff4
call fcn.004357e0
add esp, 0x18
cmp dword [0x441604], 0
je 0x43d8a1
push 0x27e
push 0x42ed48
push 0x42b77c
push 7
push 0xfffffffffffffff4
call fcn.004357e0
add esp, 0x14
jmp 0x43d8a1
cmp dword [esi + 0x1c], 1
mov ecx, esi
jbe 0x43d6f6
push ebx
call fcn.0043d010
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x10], 1
mov byte [ecx + eax - 1], 0x20
push dword [esi + 0x20]
push 1
push dword [esi + 0x1c]
push dword [esi + 0x14]
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
mov ecx, esi
push 0x42f148
push ebx
call fcn.0043d0b0
mov edi, eax
test edi, edi
jns 0x43d76f
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.00435760
cmp dword [0x441604], 0
je 0x43d8a1
push 0x42f168
push dword [esp + 0x18]
push edi
push 0x42b728
push 7
push 0xfffffffffffffff4
call fcn.004357e0
add esp, 0x18
cmp dword [0x441604], 0
je 0x43d8a1
push 0x28b
jmp 0x43d639
push 0x42f148
push ebx
call fcn.0043d0b0
mov edi, eax
test edi, edi
jns 0x43d759
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.00435760
cmp dword [0x441604], 0
je 0x43d8a1
push 0x42f168
push dword [esp + 0x18]
push edi
push 0x42b728
push 7
push 0xfffffffffffffff4
call fcn.004357e0
add esp, 0x18
cmp dword [0x441604], 0
je 0x43d8a1
push 0x293
jmp 0x43d639
cmp dword [esi + 0x1c], 1
mov ecx, esi
push ebx
jbe 0x43d793
call fcn.0043d010
mov dword [esp + 0x10], 1
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
mov byte [ecx + eax - 1], 0xa
push dword [esi + 0x20]
push 1
push dword [esi + 0x1c]
push dword [esi + 0x14]
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
jmp 0x43d8a1
call fcn.0043d3b0
mov edi, eax
test edi, edi
jns 0x43d7f0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.00435760
cmp dword [0x441604], 0
je 0x43d8a1
push 0x42f198
push dword [esp + 0x18]
push edi
push 0x42b728
push 7
push 0xfffffffffffffff4
call fcn.004357e0
add esp, 0x18
cmp dword [0x441604], 0
je 0x43d8a1
push 0x2a4
jmp 0x43d639
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], eax
push edx
lea edx, [esp + 0x2c]
add eax, 0x10
push edx
lea ecx, [esi + 0x24]
mov dword [esp + 0x20], eax
push eax
call fcn.0043ed20
test eax, eax
jne 0x43d8a1
push dword [esp + 0x14]
lea ecx, [esi + 0x24]
call fcn.0043e9b0
push ebx
mov ecx, esi
mov dword [eax], 1
call fcn.0043d010
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], 1
movzx eax, byte [ecx + 0x1f]
push eax
movzx eax, byte [ecx + 0x1e]
push eax
movzx eax, byte [ecx + 0x1d]
push eax
movzx eax, byte [ecx + 0x1c]
push eax
movzx eax, byte [ecx + 0x1b]
push eax
movzx eax, byte [ecx + 0x1a]
push eax
movzx eax, byte [ecx + 0x19]
push eax
movzx eax, byte [ecx + 0x18]
push eax
movzx eax, word [ecx + 0x16]
push eax
movzx eax, word [ecx + 0x14]
push eax
push dword [ecx + 0x10]
push 0x42f1b8
push dword [esi + 0x20]
call dword [sym.imp.msvcrt.dll_fprintf_s]
add esp, 0x34
cmp dword [esi + 0x28], 1
jne 0x43d8a1
push 0x42f208
push dword [esi + 0x20]
call dword [sym.imp.msvcrt.dll_fprintf_s]
add esp, 8
test edi, edi
jns 0x43d8c6
cmp dword [esp + 0x10], 0
jne 0x43d8b4
push ebx
mov ecx, esi
call fcn.0043d010
push edi
push 0x42f240
push dword [esi + 0x20]
call dword [sym.imp.msvcrt.dll_fprintf_s]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4