Function at 0x437670
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
push 0x50
call fcn.004e83f4
push edi
push 0x4b
call fcn.004e83f4
push edi
push 1
call fcn.004e83f4
push edi
push 2
call fcn.004e83f4
mov esi, dword [esp + 0x2c]
movsx eax, byte [esi]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 1]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 2]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 3]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 4]
add esp, 0x40
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 5]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 6]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 7]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 8]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 9]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0xa]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0xb]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0xc]
add esp, 0x40
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0xd]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0xe]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0xf]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x10]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x11]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x12]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x13]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x14]
add esp, 0x40
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x15]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x16]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x17]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x18]
push edi
push eax
call fcn.004e83f4
mov ecx, dword [esi + 0x18]
shr ecx, 8
movsx edx, cl
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x20]
push edi
push eax
call fcn.004e83f4
mov ecx, dword [esi + 0x20]
shr ecx, 8
movsx edx, cl
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x24]
add esp, 0x40
push edi
push eax
call fcn.004e83f4
mov ecx, dword [esi + 0x24]
shr ecx, 8
movsx edx, cl
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x28]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x29]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x2a]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x2b]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x30]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x31]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x32]
add esp, 0x40
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x33]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x34]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x35]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x36]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x37]
push edi
push edx
call fcn.004e83f4
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x48]
push edi
push eax
push 1
push ecx
call fcn.004e3bd5
add esp, 0x40
cmp eax, dword [esi + 0x18]
jne 0x4378da
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4378b9
mov edx, dword [esi + 0x40]
push edi
push eax
push 1
push edx
call fcn.004e3bd5
add esp, 0x10
cmp eax, dword [esi + 0x20]
jne 0x4378da
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4378d5
push edi
push eax
mov eax, dword [esi + 0x44]
push 1
push eax
call fcn.004e3bd5
add esp, 0x10
cmp eax, dword [esi + 0x24]
jne 0x4378da
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, 0xa
pop esi
ret