Function at 0x40a5d0
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.0040c190
push 9
call fcn.0041aab9
mov esi, eax
add esp, 4
test esi, esi
je 0x40a619
movq xmm0, qword [str.settings]
movq qword [esi], xmm0
mov byte [esi + 8], 0
mov dword [ebp - 0x14], esi
call fcn.00408d40
mov ecx, dword [eax]
mov eax, dword [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a645
test dl, dl
je 0x40a641
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a645
add eax, 2
add ecx, 2
test dl, dl
jne 0x40a625
xor eax, eax
jmp 0x40a64a
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a6b8
lea eax, [ebp - 0x14]
cmp eax, ebx
je 0x40a6a8
push esi
call fcn.0041aab4
mov ebx, dword [ebx]
add esp, 4
test ebx, ebx
je 0x40a67b
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x40a670
sub esi, ecx
jmp 0x40a67d
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041aab9
mov edi, eax
add esp, 4
test edi, edi
je 0x40a6a2
test esi, esi
je 0x40a69e
push esi
push ebx
push edi
call fcn.0042ed60
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.00401630
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.0040c670
cmp dword [ebp - 0x1c], 0
jne 0x40a6e7
xor bl, bl
jmp 0x40a8d3
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40a701
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x40a6f6
sub edi, ecx
jmp 0x40a703
xor edi, edi
lea eax, [edi + 1]
push eax
call fcn.0041aab9
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40a72a
test edi, edi
je 0x40a726
push edi
push dword [ebp - 0x20]
push ebx
call fcn.0042ed60
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 [0x430274]
mov ecx, ebx
call edi
lea ecx, [ebp - 8]
push dword [eax]
call fcn.00401630
push str.macromedia.com_support_flashplayer_sys
lea ecx, [ebp - 8]
call fcn.00401630
call fcn.00408d40
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a787
test dl, dl
je 0x40a783
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a787
add eax, 2
add ecx, 2
test dl, dl
jne 0x40a767
xor eax, eax
jmp 0x40a78c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7cb
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x430274]
mov ecx, ebx
call edi
lea ecx, [ebp - 8]
push dword [eax]
call fcn.00401630
push 0x43d778
lea ecx, [ebp - 8]
call fcn.00401630
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push dword [eax]
call fcn.00401630
push 2
call fcn.0041aab9
add esp, 4
test eax, eax
je 0x40a7e5
mov cl, byte [0x43d8d0]
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 [0x430274]
mov ecx, ebx
call edi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40a817
push eax
call fcn.0041aab4
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 [0x430274]
mov ecx, ebx
call edi
lea ecx, [ebp - 8]
push dword [eax]
call fcn.00401630
push str.settings.sol
lea ecx, [ebp - 8]
call fcn.00401630
mov ecx, dword [ebp - 0x10]
push 1
push dword [ebp + 8]
mov dword [ebp - 0x18], 0
call fcn.00409da0
test al, al
je 0x40a8b5
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 8]
push 0
push 0xfde9
call dword [0x430120]
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041aab9
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40a8b5
push edi
push ebx
push 0xffffffffffffffff
push dword [ebp - 8]
push 0
push 0xfde9
call dword [0x430120]
test eax, eax
jne 0x40a910
push ebx
call fcn.0041aab4
add esp, 4
mov ebx, dword [ebp - 0xc]
push dword [ebp - 0x1c]
call fcn.0041aab4
mov eax, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x40a8d3
push eax
call fcn.0041aab4
add esp, 4
test esi, esi
je 0x40a8e0
push esi
call fcn.0041aab4
add esp, 4
push dword [ebp - 0x30]
call fcn.0041aab4
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x40a8fb
push eax
call fcn.0041aab4
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041aaa3
mov esp, ebp
pop ebp
ret 4
push 0x43d8ec
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.004209b4
add esp, 0xc
mov edi, eax
push ebx
call fcn.0041aab4
add esp, 4
test edi, edi
jne 0x40a8b5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40a8b5
mov edi, dword [ebp - 0x24]
push eax
push edi
push 1
push dword [ebp - 0x1c]
call fcn.0042113c
add esp, 0x10
push dword [ebp - 0x18]
cmp eax, edi
je 0x40a95f
call fcn.0041e1f4
jmp 0x40a8b2
call fcn.0041e1f4
mov ebx, dword [ebp - 0xc]
add esp, 4
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
jmp 0x40a8b8