Function at 0x404bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0x46a4a0
call fcn.00412935
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0xc620b679
mov esi, 0xe18e2705
jmp 0x404c30
mov dword [ebp - 0x34], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x34]
cmp eax, 0x9b8d0366
jg 0x404c50
cmp eax, 0x8e42f6e7
jne 0x404c30
jmp 0x404f57
cmp eax, 0x7ea7076d
jg 0x404c80
cmp eax, 0x778c2c2f
jg 0x404cc3
cmp eax, 0x9df0b713
jg 0x404cda
cmp eax, 0x9b8d0367
jne 0x404c30
mov dword [ebp - 0x34], 0xea03f818
jmp 0x404c30
cmp eax, 0x7ea7076e
jne 0x404c30
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00412aa1
mov dword [ebp - 0x2c], eax
mov ecx, 0x9df0b714
cmp eax, dword [ebp - 0x1c]
jne 0x404c22
mov ecx, 0x39026a7d
jmp 0x404c22
cmp eax, 0x778c2c30
jne 0x404c30
mov dword [ebp - 0x34], 0xfa4485c7
jmp 0x404c30
cmp eax, 0x49399c13
jg 0x404d06
cmp eax, 0x475c93bb
jg 0x404d25
cmp eax, 0x9ee18ea2
jg 0x404d3c
cmp eax, 0x9df0b714
jne 0x404c30
mov dword [ebp - 0x34], 0x475c93bc
jmp 0x404c30
cmp eax, 0x49399c14
jne 0x404c30
cmp dword [ebp - 0x1c], 0
setne byte [ebp - 0xa]
mov dword [ebp - 0x34], 0xf47bf811
jmp 0x404c30
cmp eax, 0x475c93bc
jne 0x404c30
mov dword [ebp - 0x34], 0xfa4485c7
jmp 0x404c30
cmp eax, 0xaeeb9b9b
jg 0x404d7a
cmp eax, 0x9ee18ea3
jne 0x404c30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00402540
mov dword [ebp - 0x34], 0x9b8d0367
jmp 0x404c30
cmp eax, 0xc620b678
jg 0x404d98
cmp eax, 0xaeeb9b9c
jne 0x404c30
mov dword [ebp - 0x34], 0x49399c14
jmp 0x404c30
cmp eax, 0xe91d324c
jg 0x404dc2
cmp eax, 0xc620b679
jne 0x404c30
mov eax, 0xe91d324d
cmp dword [ebp - 0x10], 0
je 0x404dba
mov eax, 0xe5f7b61
mov dword [ebp - 0x34], eax
jmp 0x404c30
cmp eax, 0xe9f916ae
jg 0x404de0
cmp eax, 0xe91d324d
jne 0x404c30
mov dword [ebp - 0x34], 0x475c93bc
jmp 0x404c30
cmp eax, 0x3948bc6b
jg 0x404e40
cmp eax, 0x39026a7c
jg 0x404e77
cmp eax, 0xe5f7b60
jg 0x404ea4
cmp eax, 0xe0c0533
jg 0x404ebb
cmp eax, 0xff2b458c
jg 0x404ed9
cmp eax, 0xfa4485c6
jg 0x404efb
cmp eax, 0xe9f916af
je 0x404f1a
cmp eax, 0xea03f818
jne 0x404f33
mov dword [ebp - 0x34], 0x49399c14
jmp 0x404c30
cmp eax, 0x3948bc6c
jne 0x404c30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00402540
mov dword [ebp - 0x34], 0x9ee18ea3
jmp 0x404c30
cmp eax, 0x39026a7d
jne 0x404c30
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
add eax, esi
sub eax, dword [ebp - 0x2c]
add eax, 0x1e71d8fb
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0xea03f818
jmp 0x404c30
cmp eax, 0xe5f7b61
jne 0x404c30
mov dword [ebp - 0x34], 0x9ee18ea3
jmp 0x404c30
cmp eax, 0xe0c0534
jne 0x404c30
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0x475c93bc
jmp 0x404c30
cmp eax, 0xff2b458d
jne 0x404c30
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.00412b8b
mov dword [ebp - 0x34], 0x8e42f6e7
jmp 0x404c30
cmp eax, 0xfa4485c7
jne 0x404c30
cmp dword [ebp - 0x28], 0
setne byte [ebp - 9]
mov dword [ebp - 0x34], 0xe9f916af
jmp 0x404c30
mov al, byte [ebp - 9]
test al, al
mov eax, 0xff2b458d
jne 0x404f2b
mov eax, 0x8e42f6e7
mov dword [ebp - 0x34], eax
jmp 0x404c30
cmp eax, 0xf47bf811
jne 0x404c30
mov al, byte [ebp - 0xa]
test al, al
mov eax, 0x7ea7076e
jne 0x404f4f
mov eax, 0xe0c0534
mov dword [ebp - 0x34], eax
jmp 0x404c30
mov eax, dword [ebp - 0x30]
add esp, 0x3c
pop esi
pop edi
pop ebp
ret