Function at 0x40a750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4ad00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov byte [ebp - 0xc], 0
push ebx
push edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], edi
call fcn.0040c510
push 9
call fcn.0041ad8b
mov esi, eax
add esp, 4
test esi, esi
je 0x40a799
movq xmm0, qword [str.settings]
movq qword [esi], xmm0
mov byte [esi + 8], 0
mov dword [ebp - 0x14], esi
call fcn.00408ec0
mov ecx, dword [eax]
mov eax, dword [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a7c5
test dl, dl
je 0x40a7c1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a7c5
add eax, 2
add ecx, 2
test dl, dl
jne 0x40a7a5
xor eax, eax
jmp 0x40a7ca
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a838
lea eax, [ebp - 0x14]
cmp eax, ebx
je 0x40a828
push esi
call fcn.0041ad86
mov ebx, dword [ebx]
add esp, 4
test ebx, ebx
je 0x40a7fb
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x40a7f0
sub esi, ecx
jmp 0x40a7fd
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041ad8b
mov edi, eax
add esp, 4
test edi, edi
je 0x40a822
test esi, esi
je 0x40a81e
push esi
push ebx
push edi
call fcn.0042edb0
add esp, 0xc
mov byte [edi + esi], 0
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
push str._settings
lea ecx, [ebp - 0x14]
call fcn.004013c0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040ca20
cmp dword [ebp - 0x1c], 0
jne 0x40a867
xor bl, bl
jmp 0x40aa53
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40a881
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x40a876
sub edi, ecx
jmp 0x40a883
xor edi, edi
lea eax, [edi + 1]
push eax
call fcn.0041ad8b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40a8aa
test edi, edi
je 0x40a8a6
push edi
push dword [ebp - 0x20]
push ebx
call fcn.0042edb0
add esp, 0xc
mov byte [ebx + edi], 0
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x430270]
mov ecx, ebx
call edi
lea ecx, [ebp - 8]
push dword [eax]
call fcn.004013c0
push str.macromedia.com_support_flashplayer_sys
lea ecx, [ebp - 8]
call fcn.004013c0
call fcn.00408ec0
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a907
test dl, dl
je 0x40a903
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a907
add eax, 2
add ecx, 2
test dl, dl
jne 0x40a8e7
xor eax, eax
jmp 0x40a90c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a94b
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x430270]
mov ecx, ebx
call edi
lea ecx, [ebp - 8]
push dword [eax]
call fcn.004013c0
push 0x43d7b0
lea ecx, [ebp - 8]
call fcn.004013c0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push dword [eax]
call fcn.004013c0
push 2
call fcn.0041ad8b
add esp, 4
test eax, eax
je 0x40a965
mov cl, byte [0x43d908]
mov byte [eax], cl
mov byte [eax + 1], 0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
mov ebx, dword [eax + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x430270]
mov ecx, ebx
call edi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40a997
push eax
call fcn.0041ad86
add esp, 4
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x430270]
mov ecx, ebx
call edi
lea ecx, [ebp - 8]
push dword [eax]
call fcn.004013c0
push str.settings.sol
lea ecx, [ebp - 8]
call fcn.004013c0
mov ecx, dword [ebp - 0x10]
push 1
push dword [ebp + 8]
mov dword [ebp - 0x18], 0
call fcn.00409f20
test al, al
je 0x40aa35
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ad8b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40aa35
push edi
push ebx
push 0xffffffffffffffff
push dword [ebp - 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40aa90
push ebx
call fcn.0041ad86
add esp, 4
mov ebx, dword [ebp - 0xc]
push dword [ebp - 0x1c]
call fcn.0041ad86
mov eax, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x40aa53
push eax
call fcn.0041ad86
add esp, 4
test esi, esi
je 0x40aa60
push esi
call fcn.0041ad86
add esp, 4
push dword [ebp - 0x30]
call fcn.0041ad86
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x40aa7b
push eax
call fcn.0041ad86
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 4
push 0x43d924
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00420a08
add esp, 0xc
mov edi, eax
push ebx
call fcn.0041ad86
add esp, 4
test edi, edi
jne 0x40aa35
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40aa35
mov edi, dword [ebp - 0x24]
push eax
push edi
push 1
push dword [ebp - 0x1c]
call fcn.0042110c
add esp, 0x10
push dword [ebp - 0x18]
cmp eax, edi
je 0x40aadf
call fcn.0041e263
jmp 0x40aa32
call fcn.0041e263
mov ebx, dword [ebp - 0xc]
add esp, 4
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
jmp 0x40aa38