Function at 0x4057a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x30], 0xa34cc561
jmp 0x4057c0
mov dword [ebp - 0x30], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x30]
cmp eax, 0x78072e2f
jg 0x405810
cmp eax, 0x9abef393
jg 0x405830
cmp eax, 0x85413d1d
jne 0x4057c0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.004025a0
add esp, 0x10
mov dword [ebp - 0x30], 0x61373e57
jmp 0x4057c0
cmp eax, 0x78072e30
jne 0x4057c0
mov ecx, dword [ebp - 0x1c]
mov eax, 0xd6d8637c
cmp dword [ecx], 0
jne 0x4057b2
mov eax, 0xa086c536
jmp 0x4057b2
cmp eax, 0x9f9ae4f7
jg 0x405902
cmp eax, 0x9abef394
jne 0x4057c0
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x34], esp
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x38], esp
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x3c], esp
mov eax, 4
call fcn.00416c10
mov esi, esp
mov eax, 4
call fcn.00416c10
mov edi, esp
mov eax, 4
call fcn.00416c10
mov ebx, esp
mov eax, 4
call fcn.00416c10
mov edx, esp
mov eax, 4
call fcn.00416c10
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [edx], 0
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebx], 0
mov dword [esp], 0xffffffff
mov eax, dword [edi]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x42145b
call fcn.00417735
add esp, 8
mov dword [ebx], eax
mov dword [ebp - 0x30], 0xa0d38441
jmp 0x4057c0
cmp eax, 0xa086c535
jg 0x405958
cmp eax, 0x9f9ae4f8
jne 0x4057c0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.004178a1
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], 0x4832763e
jmp 0x4057c0
cmp eax, 0x61373e56
jg 0x405a2a
cmp eax, 0x60b39bd5
jg 0x405a4f
cmp eax, 0x4832763d
jg 0x405a66
cmp eax, 0x43dfe79f
jg 0x405abd
cmp eax, 0x3f575214
jg 0x405ae1
cmp eax, 0x2dc4bf5d
jg 0x405af8
cmp eax, 0x27e08987
jg 0x405b18
cmp eax, 0x2612247b
jg 0x405b2f
cmp eax, 0xe30227e2
jg 0x405b46
cmp eax, 0xd6d8637b
jg 0x405b5d
cmp eax, 0xbecc05a4
jg 0x405b87
cmp eax, 0xb2542644
jg 0x405bab
cmp eax, 0xa9147454
jg 0x405be0
cmp eax, 0xa761bc23
jg 0x405c00
cmp eax, 0xa4e8dbb8
jg 0x405c17
cmp eax, 0xa34cc560
jg 0x405c2e
cmp eax, 0xa0d38441
je 0x405c45
cmp eax, 0xa0f7afc1
jne 0x405d1f
mov dword [ebp - 0x30], 0x4832763e
jmp 0x4057c0
cmp eax, 0x61373e57
jne 0x4057c0
mov ecx, dword [ebp - 0x24]
mov eax, 0xa0f7afc1
cmp dword [ecx], 0
jne 0x405a47
mov eax, 0x60b39bd6
mov dword [ebp - 0x30], eax
jmp 0x4057c0
cmp eax, 0x60b39bd6
jne 0x4057c0
mov dword [ebp - 0x30], 0x2dc4bf5e
jmp 0x4057c0
cmp eax, 0x4832763e
jne 0x4057c0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.004178a1
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx]
setne byte [ebp - 0xd]
mov dword [ebp - 0x30], 0x43dfe7a0
jmp 0x4057c0
cmp eax, 0x43dfe7a0
jne 0x4057c0
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0xa4e8dbb9
jne 0x405ad9
mov eax, 0xb2542645
mov dword [ebp - 0x30], eax
jmp 0x4057c0
cmp eax, 0x3f575215
jne 0x4057c0
mov dword [ebp - 0x30], 0x78072e30
jmp 0x4057c0
cmp eax, 0x2dc4bf5e
jne 0x4057c0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [ebp - 0x30], 0x3f575215
jmp 0x4057c0
cmp eax, 0x27e08988
jne 0x4057c0
mov dword [ebp - 0x30], 0xe30227e3
jmp 0x4057c0
cmp eax, 0x2612247c
jne 0x4057c0
mov dword [ebp - 0x30], 0x78072e30
jmp 0x4057c0
cmp eax, 0xe30227e3
jne 0x4057c0
mov dword [ebp - 0x30], 0x2612247c
jmp 0x4057c0
cmp eax, 0xd6d8637c
jne 0x4057c0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.0041798b
add esp, 4
mov dword [ebp - 0x30], 0xa086c536
jmp 0x4057c0
cmp eax, 0xbecc05a5
jne 0x4057c0
mov al, byte [ebp - 0xe]
test al, al
mov eax, 0x27e08988
jne 0x405ba3
mov eax, 0x85413d1d
mov dword [ebp - 0x30], eax
jmp 0x4057c0
cmp eax, 0xb2542645
jne 0x4057c0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
mov dword [ebp - 0x30], 0x61373e57
jmp 0x4057c0
cmp eax, 0xa9147455
jne 0x4057c0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [ebp - 0x30], 0x2dc4bf5e
jmp 0x4057c0
cmp eax, 0xa761bc24
jne 0x4057c0
mov dword [ebp - 0x30], 0xe30227e3
jmp 0x4057c0
cmp eax, 0xa4e8dbb9
jne 0x4057c0
mov dword [ebp - 0x30], 0x78072e30
jmp 0x4057c0
cmp eax, 0xa34cc561
jne 0x4057c0
mov dword [ebp - 0x30], 0xa0d38441
jmp 0x4057c0
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x2c], esp
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x28], esp
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x24], esp
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.00416c10
mov ecx, esp
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x18], esp
mov eax, 4
call fcn.00416c10
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xffffffff
mov eax, dword [ecx]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x42145b
call fcn.00417735
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
sete byte [ebp - 0xe]
mov dword [ebp - 0x30], 0xbecc05a5
jmp 0x4057c0
cmp eax, 0xa086c536
jne 0x4057c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret