Function at 0x4fa1f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66343a
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x6ece84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
xor edi, edi
mov dword [ebp - 0x4d0], esi
push 0x208
push edi
push eax
mov dword [ebp - 0x4cc], edi
call fcn.00607da0
lea edx, [ebp - 0x218]
add esp, 0xc
mov ecx, esi
sub edx, esi
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4fa250
lea ecx, [ebp - 0x218]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4fa270
mov eax, dword [0x6819a4]
mov dword [ecx], eax
mov eax, dword [0x6819a8]
mov dword [ecx + 4], eax
mov ax, word [0x6819ac]
mov word [ecx + 8], ax
call fcn.00409870
push str.FindFirstFileW
push eax
call fcn.0048a530
add esp, 8
test eax, eax
je 0x4fa64a
lea ecx, [ebp - 0x4c8]
push ecx
lea ecx, [ebp - 0x218]
push ecx
call eax
mov dword [ebp - 0x4d4], eax
cmp eax, 0xffffffff
je 0x4fa64a
nop
test byte [ebp - 0x4c8], 0x10
jne 0x4fa5f9
push 1
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x248]
push 0x6801a0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.0040cbc0
mov dword [ebp - 4], 1
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fa330
sub ecx, edx
sar ecx, 1
push ecx
push esi
push 0
lea ecx, [ebp - 0x248]
call fcn.00421a60
mov dword [ebp - 0x268], 0
xor ecx, ecx
mov dword [ebp - 0x264], 0
or edi, 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x268], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x4cc], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x49c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fa3a2
sub ecx, edx
lea eax, [ebp - 0x49c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.00421790
mov dword [ebp - 0x250], 0
xor ecx, ecx
mov dword [ebp - 0x24c], 0
or edi, 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x250], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x4cc], edi
push eax
call fcn.00487520
add esp, 8
mov byte [ebp - 4], 3
and edi, 0xfffffffd
mov dword [ebp - 0x4cc], edi
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x4fa472
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa468
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa667
push edx
push ecx
call fcn.005e9c93
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
and edi, 0xfffffffe
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov dword [ebp - 0x4cc], edi
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x4fa4dc
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa4d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa667
push edx
push ecx
call fcn.005e9c93
add esp, 8
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x4fa53d
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa533
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa667
push edx
push ecx
call fcn.005e9c93
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
cmp dword [ebp - 0x21c], 0x10
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0x681cc4
push eax
mov dword [ebp - 0x234], 7
call fcn.0061184c
mov esi, eax
add esp, 8
test esi, esi
je 0x4fa597
push esi
push 0
push 1
push 0
call fcn.0060bd39
push esi
call fcn.0060afac
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x4fa5d8
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa5ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa667
push edx
push ecx
call fcn.005e9c93
add esp, 8
mov esi, dword [ebp - 0x4d0]
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
call fcn.00409870
push 0x68185c
push eax
call fcn.0048a530
add esp, 8
test eax, eax
je 0x4fa627
lea ecx, [ebp - 0x4c8]
push ecx
push dword [ebp - 0x4d4]
call eax
test eax, eax
jne 0x4fa2d0
call fcn.00409870
push 0x68186c
push eax
call fcn.0048a530
add esp, 8
test eax, eax
je 0x4fa646
push dword [ebp - 0x4d4]
call eax
mov al, 1
jmp 0x4fa64c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9f40
mov esp, ebp
pop ebp
ret
call fcn.0060ad39
int3