Function at 0x437e00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c5748
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
call fcn.00437a60
mov word [ebp - 0x42], ax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x42]
push ecx
call fcn.00437b30
add esp, 8
movzx edx, al
test edx, edx
je 0x437e62
lea eax, [ebp + 8]
push eax
call fcn.00438130
add esp, 4
jmp 0x438113
mov ecx, dword [ebp - 0x74]
call fcn.00439710
test eax, eax
je 0x437eac
mov ecx, dword [ebp - 0x74]
call fcn.00439710
mov esi, eax
mov ecx, dword [ebp - 0x74]
call fcn.004397d0
cmp esi, eax
jae 0x437eac
lea ecx, [ebp + 8]
push ecx
call fcn.00437c80
add esp, 4
mov si, ax
mov ecx, dword [ebp - 0x74]
call fcn.004398f0
mov word [eax], si
mov ax, word [ebp + 8]
jmp 0x438113
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x4c], 0
jne 0x437ec4
call fcn.00437a60
jmp 0x438113
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x3c], 0
jne 0x437f14
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00437c80
add esp, 4
movzx ecx, ax
push ecx
call fcn.004381b0
add esp, 8
movzx edx, al
test edx, edx
je 0x437efd
mov ax, word [ebp + 8]
mov word [ebp - 0x76], ax
jmp 0x437f06
call fcn.00437a60
mov word [ebp - 0x76], ax
mov ax, word [ebp - 0x76]
jmp 0x438113
mov dword [ebp - 0x10], 8
lea ecx, [ebp + 8]
push ecx
call fcn.00437c80
add esp, 4
mov word [ebp - 0x18], ax
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.00439160
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00439220
mov ecx, eax
call fcn.00439f30
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.00405370
add esi, eax
push esi
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00439220
mov ecx, eax
call fcn.00439f30
push eax
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x74]
add edx, 0x44
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x3c]
call fcn.00438170
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x4380e1
cmp dword [ebp - 0x7c], 1
jle 0x437fb6
cmp dword [ebp - 0x7c], 3
je 0x438096
jmp 0x4380e1
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00439220
mov ecx, eax
call fcn.00439f30
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x40], edx
je 0x438022
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00439220
mov ecx, eax
call fcn.00439f30
push eax
call fcn.005ab8a9
add esp, 0x10
cmp dword [ebp - 0x40], eax
je 0x438022
call fcn.00437a60
mov word [ebp - 0x66], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405300
mov ax, word [ebp - 0x66]
jmp 0x438113
mov ecx, dword [ebp - 0x74]
mov byte [ecx + 0x42], 1
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
cmp edx, eax
je 0x438053
mov cx, word [ebp + 8]
mov word [ebp - 0x68], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405300
mov ax, word [ebp - 0x68]
jmp 0x438113
cmp dword [ebp - 0x40], 0
jbe 0x43805b
jmp 0x438094
lea ecx, [ebp - 0x3c]
call fcn.00405370
cmp eax, 0x20
jae 0x438076
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.004391a0
jmp 0x438094
call fcn.00437a60
mov word [ebp - 0x6a], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405300
mov ax, word [ebp - 0x6a]
jmp 0x438113
jmp 0x4380ff
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x4c]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
call fcn.004381b0
add esp, 8
movzx edx, al
test edx, edx
je 0x4380bb
mov ax, word [ebp + 8]
mov word [ebp - 0x7e], ax
jmp 0x4380c4
call fcn.00437a60
mov word [ebp - 0x7e], ax
mov cx, word [ebp - 0x7e]
mov word [ebp - 0x6c], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405300
mov ax, word [ebp - 0x6c]
jmp 0x438113
call fcn.00437a60
mov word [ebp - 0x6e], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405300
mov ax, word [ebp - 0x6e]
jmp 0x438113
jmp 0x437f3e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret 4