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

Disassembly:
sub esp, 0xf0
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0xec], eax
push ebp
mov ebp, dword [esp + 0xf8]
push esi
push edi
mov edi, ecx
push 0x1d2
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f304f
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0x18], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
mov dword [esp + 0x1c], eax
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
mov dword [esp + 0x20], eax
push 0x4cf
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f308e
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0x28], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
xor ecx, ecx
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x10], ecx
setne cl
mov dword [esp + 0x30], ecx
push 0x4c6
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f30e1
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0x38], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.00457a20
test eax, eax
je 0x4f30da
xor edx, edx
cmp dword [esi + 0x10], edx
setne dl
mov dword [esp + 0x40], edx
jmp 0x4f30e1
mov eax, dword [edi + 0x20]
mov dword [esp + 0x40], eax
push ebx
push 0x1ca
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
mov edi, 8
lea ebx, [edi - 7]
test esi, esi
je 0x4f3151
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0x4c], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
xor ecx, ecx
mov dword [esp + 0x50], eax
cmp dword [esi + 0x10], ecx
setne cl
mov dword [esp + 0x54], ecx
movzx eax, word [esi + 0x228]
cmp ax, bx
jne 0x4f313c
or dword [esp + 0x54], 4
jmp 0x4f3151
cmp eax, 2
jne 0x4f3147
or dword [esp + 0x54], edi
jmp 0x4f3151
cmp eax, 3
jne 0x4f3151
or dword [esp + 0x54], 0x10
push 0xf0
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f319e
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0x5c], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
xor edx, edx
mov dword [esp + 0x60], eax
cmp dword [esi + 0x10], edx
setne dl
mov dword [esp + 0x64], edx
cmp dword [esi + 0x2c0], 0
je 0x4f319e
or dword [esp + 0x64], 2
push 0x127
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f3211
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0x6c], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
mov dword [esp + 0x70], eax
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x9708]
cmp eax, ebx
jne 0x4f31ee
or dword [esp + 0x74], 4
jmp 0x4f3203
cmp eax, 2
jne 0x4f31f9
or dword [esp + 0x74], edi
jmp 0x4f3203
cmp eax, 4
jne 0x4f3203
or dword [esp + 0x74], 0x10
mov ecx, esi
call fcn.004c8c40
movzx ecx, al
mov dword [esp + 0x78], ecx
push 0x613
mov ecx, 0x6f3010
call fcn.00437d50
test eax, eax
je 0x4f3243
cmp dword [eax + 0x10], 0
je 0x4f3234
or dword [esp + 0x74], 0x100
jmp 0x4f3243
mov eax, 0x100
test dword [esp + 0x74], eax
je 0x4f3243
xor dword [esp + 0x74], eax
push 0xf6
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f32b5
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0x7c], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
xor edx, edx
mov dword [esp + 0x80], eax
cmp dword [esi + 0x10], edx
setne dl
mov dword [esp + 0x84], edx
mov al, byte [esi + 0x21b]
cmp al, bl
jne 0x4f329c
or dword [esp + 0x84], 4
jmp 0x4f32b5
cmp al, 2
jne 0x4f32a9
or dword [esp + 0x84], edi
jmp 0x4f32b5
cmp al, 3
jne 0x4f32b5
or dword [esp + 0x84], 0x10
push 0x60
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f32fa
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0x8c], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
mov dword [esp + 0x90], eax
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
mov dword [esp + 0x94], eax
push 0xca
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f33a0
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0x9c], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
xor ecx, ecx
mov dword [esp + 0xa0], eax
cmp dword [esi + 0x10], ecx
setne cl
mov dword [esp + 0xa4], ecx
cmp byte [esi + 0x21b], bl
jne 0x4f338d
or dword [esp + 0xa4], 4
mov edx, dword [0x6e5a4c]
mov al, byte [edx + 0x21b]
cmp al, bl
jne 0x4f3370
or dword [esp + 0xa4], 0x20
jmp 0x4f338d
cmp al, 2
jne 0x4f337e
or dword [esp + 0xa4], 0x40
jmp 0x4f338d
cmp al, 3
jne 0x4f338d
or dword [esp + 0xa4], 0x80
mov eax, dword [esi + 0x224]
mov ecx, dword [eax + 0x2a8]
mov dword [esp + 0xa8], ecx
push 0x336
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f3419
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0xac], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
xor edx, edx
mov dword [esp + 0xb0], eax
cmp dword [esi + 0x10], edx
setne dl
mov dword [esp + 0xb4], edx
cmp byte [esi + 0x21b], bl
jne 0x4f33f8
or dword [esp + 0xb4], 4
cmp byte [esi + 0x21b], 2
jne 0x4f3408
or dword [esp + 0xb4], edi
cmp byte [esi + 0x21b], 3
jne 0x4f3419
or dword [esp + 0xb4], 0x10
push 0x553
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f3461
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0xbc], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
mov dword [esp + 0xc0], eax
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
mov dword [esp + 0xc4], eax
push 0x4ec
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
test esi, esi
je 0x4f34ba
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0xcc], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
mov dword [esp + 0xd0], eax
cmp dword [esi + 0x10], 0
je 0x4f34af
mov dword [esp + 0xd4], ebx
mov dword [0x6ff730], ebx
jmp 0x4f34ba
mov dword [esp + 0xd4], 0
push 0x203
mov ecx, 0x6f3010
call fcn.00437d50
mov esi, eax
pop ebx
test esi, esi
je 0x4f3518
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0xd8], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
xor ecx, ecx
cmp dword [0x6e5b14], ecx
mov dword [esp + 0xdc], eax
setne cl
xor edx, edx
cmp dword [0x6e5b10], edx
setne dl
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
mov esi, dword [0x7000f4]
test esi, esi
je 0x4f3552
fld dword [esi + 0x1c4]
call fcn.0058e6e0
mov dword [esp + 0xe8], eax
fld dword [esi + 0x1c8]
call fcn.0058e6e0
mov dword [esp + 0xec], eax
mov eax, dword [0x7000f0]
mov dword [esp + 0xf4], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4f35c7
mov ecx, dword [0x71f81c]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], 0x6111101
mov dword [esp + 0x28], ecx
call edi
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push esi
call edi
push 0
lea eax, [esp + 0x10]
push eax
push 0xe0
lea ecx, [esp + 0x24]
push ecx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0058d3fe
add esp, 0xf0
ret 4