Function at 0x5ffca0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
push ebx
push esi
push edi
push 0x4956c4
call dword [fcn.0048d194]
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x5fffd5
mov esi, dword [fcn.0048d2d0]
push 0x4956cc
push ebx
call esi
push 0x4956dc
push ebx
mov dword [esp + 0x1c], eax
call esi
push 0x4956f0
push ebx
mov dword [esp + 0x24], eax
call esi
push 0x495704
mov edi, eax
push ebx
mov dword [esp + 0x20], edi
call esi
push 0x495718
push ebx
mov dword [esp + 0x18], eax
call esi
cmp dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
je 0x5fffd5
cmp dword [esp + 0x1c], 0
je 0x5fffd5
test edi, edi
je 0x5fffd5
cmp dword [esp + 0x10], 0
je 0x5fffd5
test eax, eax
je 0x5fffd5
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], 0x84000000
mov al, byte [esi]
cmp al, 0x20
je 0x5ffd52
cmp al, 9
jne 0x5ffd55
inc esi
jmp 0x5ffd48
cmp byte [esi], 0x2a
jne 0x5ffd83
inc esi
call fcn.005c90d0
mov dword [esp + 0x24], eax
mov edi, 0x4918e4
mov eax, esi
call fcn.005bfff0
test eax, eax
je 0x5ffd83
mov esi, eax
mov al, byte [esi]
cmp al, 0x20
je 0x5ffd80
cmp al, 9
jne 0x5ffd83
inc esi
jmp 0x5ffd76
push 0
push 0
push 0
push 4
push 0x4900b4
call dword [esp + 0x28]
mov dword [esp + 0x14], eax
test eax, eax
je 0x5ffdbc
mov ecx, dword [esp + 0x24]
push 0
push ecx
push 0
push 0
push esi
push eax
call dword [esp + 0x34]
mov edi, eax
test edi, edi
jne 0x5ffdc8
mov edx, dword [esp + 0x14]
push edx
call dword [esp + 0x1c]
push ebx
call dword [fcn.0048d198]
jmp 0x5fffd5
mov eax, dword [ebp + 0xc]
push 0x49572c
push eax
call fcn.006317c6
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5ffdfd
mov esi, dword [esp + 0x18]
push edi
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call dword [fcn.0048d198]
jmp 0x5fffd5
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x2c], 0x28
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x400
mov al, byte [esi]
cmp al, 0x68
je 0x5ffef0
cmp al, 0x48
je 0x5ffef0
lea ecx, [esp + 0x10]
push ecx
push 0x400
lea edx, [esp + 0x78]
push edx
push edi
call dword [esp + 0x38]
mov esi, eax
test esi, esi
je 0x5fff86
cmp dword [esp + 0x10], 0
je 0x5fff86
mov esi, dword [fcn.0048d2e4]
call esi
sub eax, dword [0x4a3104]
mov ecx, dword [0x49d3c8]
cmp eax, dword [ecx + 0xb0]
jbe 0x5ffebc
push 0
push 0
push 0
push 0
lea edx, [esp + 0x64]
push edx
call dword [fcn.0048d5f4]
test eax, eax
je 0x5ffeb5
push 1
push 0xffffffffffffffff
call fcn.005b8740
add esp, 8
call esi
mov dword [0x4a3104], eax
mov eax, dword [esp + 0x10]
push ebx
push 1
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00631934
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x400
lea eax, [esp + 0x78]
push eax
push edi
call dword [esp + 0x38]
mov esi, eax
test esi, esi
jne 0x5ffe6b
jmp 0x5fff86
push 0
push 8
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [esp + 0x20]
mov esi, eax
test esi, esi
je 0x5fff86
cmp dword [esp + 0x44], 0
je 0x5fff86
mov esi, dword [fcn.0048d2e4]
call esi
sub eax, dword [0x4a3104]
mov edx, dword [0x49d3c8]
cmp eax, dword [edx + 0xb0]
jbe 0x5fff55
push 0
push 0
push 0
push 0
lea eax, [esp + 0x64]
push eax
call dword [fcn.0048d5f4]
test eax, eax
je 0x5fff4e
push 1
push 0xffffffffffffffff
call fcn.005b8740
add esp, 8
call esi
mov dword [0x4a3104], eax
mov ecx, dword [esp + 0x44]
push ebx
push 1
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.00631934
add esp, 0x10
push 0
push 8
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x54], 0x400
call dword [esp + 0x20]
mov esi, eax
test esi, esi
jne 0x5fff08
push edi
mov edi, dword [esp + 0x1c]
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x20]
push edx
call dword [fcn.0048d198]
push ebx
call fcn.00631a1b
add esp, 4
test esi, esi
je 0x5fffcb
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.0061dcb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
call dword [fcn.0048d16c]
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.0061dcb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8