Function at 0x405ba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov byte [ebp - 8], 0
push ebx
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], edi
call fcn.00407920
push 9
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x405bdf
movq xmm0, qword [str.settings]
movq qword [esi], xmm0
mov byte [esi + 8], 0
mov eax, dword [0x4b0744]
mov dword [ebp - 0xc], esi
test al, 1
jne 0x405c21
or eax, 1
push 0x11
mov dword [0x4b0744], eax
call fcn.0041a6b1
add esp, 4
test eax, eax
je 0x405c0f
movups xmm0, xmmword [str.___MASTER_DOMAIN]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x42f2d0
mov dword [0x4b0774], eax
call fcn.0041ab51
add esp, 4
mov ecx, dword [0x4b0774]
mov eax, dword [ebx]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405c50
test dl, dl
je 0x405c4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405c50
add eax, 2
add ecx, 2
test dl, dl
jne 0x405c30
xor eax, eax
jmp 0x405c55
sbb eax, eax
or eax, 1
test eax, eax
je 0x405cbc
lea eax, [ebp - 0xc]
cmp eax, ebx
je 0x405cac
push esi
call fcn.0041a66b
mov ebx, dword [ebx]
add esp, 4
test ebx, ebx
je 0x405c7f
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x405c74
sub esi, ecx
jmp 0x405c81
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041a6b1
mov edi, eax
add esp, 4
test edi, edi
je 0x405ca6
test esi, esi
je 0x405ca2
push esi
push ebx
push edi
call fcn.0042e720
add esp, 0xc
mov byte [edi + esi], 0
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x18]
push str._settings
lea ecx, [ebp - 0xc]
call fcn.00402530
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407e20
cmp dword [ebp - 0x14], 0
jne 0x405ceb
xor bl, bl
jmp 0x405edd
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x405d0b
mov edi, eax
lea ecx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x405d00
sub edi, ecx
jmp 0x405d0d
xor edi, edi
lea eax, [edi + 1]
push eax
call fcn.0041a6b1
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x405d34
test edi, edi
je 0x405d30
push edi
push dword [ebp - 0x20]
push ebx
call fcn.0042e720
add esp, 0xc
mov byte [ebx + edi], 0
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 4]
push dword [eax]
call fcn.00402530
push str.macromedia.com_support_flashplayer_sys
lea ecx, [ebp - 4]
call fcn.00402530
mov eax, dword [0x4b0744]
test al, 1
jne 0x405d98
or eax, 1
push 0x11
mov dword [0x4b0744], eax
call fcn.0041a6b1
add esp, 4
test eax, eax
je 0x405d86
movups xmm0, xmmword [str.___MASTER_DOMAIN]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x42f2d0
mov dword [0x4b0774], eax
call fcn.0041ab51
add esp, 4
mov edi, dword [ebp + 8]
mov ecx, dword [0x4b0774]
mov eax, dword [edi]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405dc3
test dl, dl
je 0x405dbf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405dc3
add eax, 2
add ecx, 2
test dl, dl
jne 0x405da3
xor eax, eax
jmp 0x405dc8
sbb eax, eax
or eax, 1
test eax, eax
je 0x405df5
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 4]
push dword [eax]
call fcn.00402530
push 0x4a9fb8
lea ecx, [ebp - 4]
call fcn.00402530
push dword [edi]
lea ecx, [ebp - 4]
call fcn.00402530
push 2
call fcn.0041a6b1
add esp, 4
test eax, eax
je 0x405e0f
mov cl, byte [0x4aa110]
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 - 4]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov eax, dword [ebp + 8]
test eax, eax
je 0x405e32
push eax
call fcn.0041a66b
add esp, 4
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 4]
push dword [eax]
call fcn.00402530
push str.settings.sol
lea ecx, [ebp - 4]
call fcn.00402530
push 1
push edi
mov ecx, ebx
mov dword [ebp - 0x10], 0
call fcn.00405440
test al, al
je 0x405ebf
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 4]
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.0041a6b1
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x405ebf
push dword [ebp + 8]
push ebx
push 0xffffffffffffffff
push dword [ebp - 4]
push 0
push 0xfde9
call edi
test eax, eax
jne 0x405f10
push ebx
call fcn.0041a66b
add esp, 4
mov ebx, dword [ebp - 8]
push dword [ebp - 0x14]
call fcn.0041a66b
mov eax, dword [ebp - 4]
add esp, 4
test eax, eax
je 0x405edd
push eax
call fcn.0041a66b
add esp, 4
test esi, esi
je 0x405eea
push esi
call fcn.0041a66b
add esp, 4
push dword [ebp - 0x2c]
call fcn.0041a66b
mov ecx, dword [ebp - 0x30]
add esp, 4
test ecx, ecx
je 0x405f05
push ecx
call fcn.0041a66b
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4aa12c
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0041f3a5
add esp, 0xc
mov edi, eax
push ebx
call fcn.0041a66b
add esp, 4
test edi, edi
jne 0x405ebf
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x405ebf
mov edi, dword [ebp - 0x1c]
push eax
push edi
push 1
push dword [ebp - 0x14]
call fcn.0041fb76
add esp, 0x10
push dword [ebp - 0x10]
cmp eax, edi
je 0x405f5b
call fcn.0041cb7d
jmp 0x405ebc
call fcn.0041cb7d
mov ebx, dword [ebp - 8]
add esp, 4
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
jmp 0x405ec2