Function at 0x405e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
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 - 0x44]
mov dword [ebp - 0x1c], edi
call fcn.004081e0
push 9
call fcn.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x405e6f
movq xmm0, qword [str.settings]
movq qword [esi], xmm0
mov byte [esi + 8], 0
mov eax, dword [0x4b2794]
mov dword [ebp - 0x10], esi
test al, 1
jne 0x405eb1
or eax, 1
push 0x11
mov dword [0x4b2794], eax
call fcn.0041b3e1
add esp, 4
test eax, eax
je 0x405e9f
movups xmm0, xmmword [str.___MASTER_DOMAIN]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x430170
mov dword [0x4b27c4], eax
call fcn.0041b864
add esp, 4
mov ecx, dword [0x4b27c4]
mov eax, dword [ebx]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405ee0
test dl, dl
je 0x405edc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405ee0
add eax, 2
add ecx, 2
test dl, dl
jne 0x405ec0
xor eax, eax
jmp 0x405ee5
sbb eax, eax
or eax, 1
test eax, eax
je 0x405f4c
lea eax, [ebp - 0x10]
cmp eax, ebx
je 0x405f3c
push esi
call fcn.0041b39b
mov ebx, dword [ebx]
add esp, 4
test ebx, ebx
je 0x405f0f
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x405f04
sub esi, ecx
jmp 0x405f11
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041b3e1
mov edi, eax
add esp, 4
test edi, edi
je 0x405f36
test esi, esi
je 0x405f32
push esi
push ebx
push edi
call fcn.0042f5c0
add esp, 0xc
mov byte [edi + esi], 0
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x1c]
push str._settings
lea ecx, [ebp - 0x10]
call fcn.00402530
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x44]
call fcn.00408960
cmp dword [ebp - 0x18], 0
jne 0x405f7b
xor bl, bl
jmp 0x40616d
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x405f9b
mov edi, eax
lea ecx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x405f90
sub edi, ecx
jmp 0x405f9d
xor edi, edi
lea eax, [edi + 1]
push eax
call fcn.0041b3e1
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x405fc4
test edi, edi
je 0x405fc0
push edi
push dword [ebp - 0x24]
push ebx
call fcn.0042f5c0
add esp, 0xc
mov byte [ebx + edi], 0
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 8]
push dword [eax]
call fcn.00402530
push str.macromedia.com_support_flashplayer_sys
lea ecx, [ebp - 8]
call fcn.00402530
mov eax, dword [0x4b2794]
test al, 1
jne 0x406028
or eax, 1
push 0x11
mov dword [0x4b2794], eax
call fcn.0041b3e1
add esp, 4
test eax, eax
je 0x406016
movups xmm0, xmmword [str.___MASTER_DOMAIN]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x430170
mov dword [0x4b27c4], eax
call fcn.0041b864
add esp, 4
mov edi, dword [ebp + 8]
mov ecx, dword [0x4b27c4]
mov eax, dword [edi]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406053
test dl, dl
je 0x40604f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406053
add eax, 2
add ecx, 2
test dl, dl
jne 0x406033
xor eax, eax
jmp 0x406058
sbb eax, eax
or eax, 1
test eax, eax
je 0x406085
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 8]
push dword [eax]
call fcn.00402530
push 0x4aafe0
lea ecx, [ebp - 8]
call fcn.00402530
push dword [edi]
lea ecx, [ebp - 8]
call fcn.00402530
push 2
call fcn.0041b3e1
add esp, 4
test eax, eax
je 0x40609f
mov cl, byte [0x4ab148]
mov byte [eax], cl
mov byte [eax + 1], 0
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
mov dword [ebp + 8], eax
push edx
lea edx, [ebp - 8]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov eax, dword [ebp + 8]
test eax, eax
je 0x4060c2
push eax
call fcn.0041b39b
add esp, 4
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 8]
push dword [eax]
call fcn.00402530
push str.settings.sol
lea ecx, [ebp - 8]
call fcn.00402530
push 1
push edi
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.00405640
test al, al
je 0x40614f
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 8]
push 0
push 0xfde9
call edi
xor ecx, ecx
mov dword [ebp + 8], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b3e1
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40614f
push dword [ebp + 8]
push ebx
push 0xffffffffffffffff
push dword [ebp - 8]
push 0
push 0xfde9
call edi
test eax, eax
jne 0x4061ab
push ebx
call fcn.0041b39b
add esp, 4
mov ebx, dword [ebp - 0xc]
push dword [ebp - 0x18]
call fcn.0041b39b
mov eax, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x40616d
push eax
call fcn.0041b39b
add esp, 4
test esi, esi
je 0x40617a
push esi
call fcn.0041b39b
add esp, 4
push dword [ebp - 0x30]
call fcn.0041b39b
add esp, 4
push dword [ebp - 0x3c]
call fcn.0041b39b
mov ecx, dword [ebp - 0x40]
add esp, 4
test ecx, ecx
je 0x4061a0
push ecx
call fcn.0041b39b
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4ab164
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004200e5
add esp, 0xc
mov edi, eax
push ebx
call fcn.0041b39b
add esp, 4
test edi, edi
jne 0x40614f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40614f
mov edi, dword [ebp - 0x20]
push eax
push edi
push 1
push dword [ebp - 0x18]
call fcn.004208b6
add esp, 0x10
push dword [ebp - 0x14]
cmp eax, edi
je 0x4061fa
call fcn.0041d8bd
jmp 0x40614c
call fcn.0041d8bd
mov ebx, dword [ebp - 0xc]
add esp, 4
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
jmp 0x406152