Function at 0x409e50
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43eea4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x580
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x53c], edi
mov eax, ecx
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x520], eax
mov ecx, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x560], eax
mov dword [ebp - 0x518], 0
push 0
mov dword [ebp - 0x55c], ecx
mov ecx, eax
movups xmmword [eax], xmm0
push 0x448ee8
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.00407540
mov ecx, edi
mov dword [ebp - 4], 0
mov esi, 1
mov dword [ebp - 0x228], 0
xorps xmm0, xmm0
mov dword [ebp - 0x518], esi
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409f20
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x238]
call fcn.00407540
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 1
push 0
push eax
mov byte [ebp - 0x511], 0
call fcn.00420d70
mov edi, dword [ebp - 0x228]
lea edx, [ebp - 0x238]
add esp, 0xc
cmp dword [ebp - 0x224], 7
cmova edx, dword [ebp - 0x238]
test edi, edi
je 0x409fd6
lea eax, [edi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x409fa0
cmp eax, edx
je 0x409fd6
sub eax, 2
cmp word [eax], 0x5c
jne 0x409f93
sub eax, edx
sar eax, 1
lea ecx, [eax + 1]
cmp eax, 0xffffffff
je 0x409fd6
cmp edi, ecx
jb 0x40a979
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
mov dword [ebp - 0x228], ecx
cmova eax, dword [ebp - 0x238]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x409ff9
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
mov dword [ebp - 0x228], 0
cmova eax, dword [ebp - 0x238]
xor ecx, ecx
mov word [eax], cx
mov edi, dword [ebp - 0x53c]
lea ecx, [ebp - 0x538]
mov edx, edi
call fcn.004098e0
cmp dword [eax + 0x14], 7
jbe 0x40a014
mov eax, dword [eax]
push eax
push 0x103
lea eax, [ebp - 0x220]
push eax
push 0x448ee8
push str.cur_ver
push str.xbaibrowser
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x524]
cmp ecx, 7
jbe 0x40a076
mov edx, dword [ebp - 0x538]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a06c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a97e
push ecx
push edx
call fcn.0041eebc
add esp, 8
cmp dword [ebp - 0x224], 7
lea ecx, [ebp - 0x238]
lea edx, [ebp - 0x220]
cmova ecx, dword [ebp - 0x238]
call fcn.00409a70
test al, al
jne 0x40a5ed
push 0x2a4
lea eax, [ebp - 0x510]
push 0
push eax
call fcn.00420d70
add esp, 0xc
lea ecx, [ebp - 0x510]
call fcn.00410700
push 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 7
lea ecx, [ebp - 0x510]
push 0
cmova eax, dword [ebp - 0x238]
push 0x4491bc
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00410950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
push 0x448ee8
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0
call fcn.00407540
mov byte [ebp - 4], 4
cmp dword [ebp - 0x258], 0
je 0x40a479
nop word [eax + eax]
mov ecx, dword [ebp - 0x270]
test ecx, ecx
je 0x40a151
call fcn.00411150
jmp 0x40a157
mov eax, dword [ebp - 0x50c]
test al, 0x10
je 0x40a383
or esi, 2
test ecx, ecx
je 0x40a174
lea eax, [ebp - 0x558]
push eax
call fcn.00411110
jmp 0x40a186
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x558]
call fcn.00407f70
mov dword [ebp - 0x518], esi
mov byte [ebp - 4], 5
lea edx, [ebp - 0x558]
cmp dword [ebp - 0x544], 7
lea ecx, [ebp - 0x238]
cmova edx, dword [ebp - 0x558]
cmp dword [ebp - 0x224], 7
cmova ecx, dword [ebp - 0x238]
call fcn.00409a70
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x544]
mov byte [ebp - 0x519], al
cmp ecx, 7
jbe 0x40a20d
mov edx, dword [ebp - 0x558]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a1fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a97e
push ecx
push edx
call fcn.0041eebc
mov al, byte [ebp - 0x519]
add esp, 8
test al, al
je 0x40a383
mov ecx, dword [ebp - 0x270]
or esi, 4
test ecx, ecx
je 0x40a230
lea eax, [ebp - 0x590]
push eax
call fcn.00411110
jmp 0x40a242
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x590]
call fcn.00407f70
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
mov edi, dword [ebp - 0x590]
lea ecx, [ebp - 0x590]
cmova eax, dword [ebp - 0x250]
cmp dword [ebp - 0x57c], 7
mov dword [ebp - 0x518], esi
cmova ecx, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40a2a0
test dx, dx
je 0x40a294
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40a2a0
add ecx, 4
add eax, 4
test dx, dx
jne 0x40a272
mov dword [ebp - 0x520], 0
jmp 0x40a2ab
sbb eax, eax
or eax, 1
mov dword [ebp - 0x520], eax
mov eax, dword [ebp - 0x57c]
cmp eax, 7
jbe 0x40a2e5
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x40a2db
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x40a97e
mov edi, edx
push ecx
push edi
call fcn.0041eebc
add esp, 8
cmp dword [ebp - 0x520], 0
jle 0x40a383
mov ecx, dword [ebp - 0x270]
or esi, 8
test ecx, ecx
je 0x40a30d
lea eax, [ebp - 0x578]
push eax
call fcn.00411110
jmp 0x40a31f
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x578]
call fcn.00407f70
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x518], esi
cmp ecx, 7
jbe 0x40a365
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a35b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a97e
push ecx
push edx
call fcn.0041eebc
add esp, 8
movups xmm0, xmmword [ebp - 0x578]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [ebp - 0x568]
movq qword [ebp - 0x240], xmm0
lea eax, [ebp - 0x538]
push eax
lea ecx, [ebp - 0x510]
call fcn.00410c80
mov edi, eax
lea eax, [ebp - 0x268]
cmp eax, edi
je 0x40a426
mov ecx, dword [ebp - 0x254]
cmp ecx, 7
jbe 0x40a3e5
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a3db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a97e
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov dword [ebp - 0x258], 0
xor eax, eax
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x258], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov ecx, dword [ebp - 0x524]
cmp ecx, 7
jbe 0x40a466
mov edx, dword [ebp - 0x538]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a45c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a97e
push ecx
push edx
call fcn.0041eebc
add esp, 8
cmp dword [ebp - 0x258], 0
jne 0x40a140
mov edi, dword [ebp - 0x53c]
cmp dword [ebp - 0x240], 0
je 0x40a51c
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
push eax
lea eax, [ebp - 0x220]
push 0x103
push eax
call fcn.0042743d
add esp, 0xc
lea ecx, [ebp - 0x538]
mov edx, edi
call fcn.004098e0
cmp dword [eax + 0x14], 7
jbe 0x40a4c4
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x220]
push eax
push str.cur_ver
push str.xbaibrowser
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x524]
cmp ecx, 7
jbe 0x40a51c
mov edx, dword [ebp - 0x538]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a512
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a983
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x40a560
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a988
push ecx
push edx
call fcn.0041eebc
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp ecx, 7
jbe 0x40a5c1
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a5b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a988
push ecx
push edx
call fcn.0041eebc
add esp, 8
xor eax, eax
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x510]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov byte [ebp - 4], 1
call fcn.004107f0
cmp dword [ebp - 0x224], 7
lea ecx, [ebp - 0x238]
lea edx, [ebp - 0x220]
cmova ecx, dword [ebp - 0x238]
call fcn.00409a70
test al, al
je 0x40a88a
push ecx
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x538]
call fcn.00417cd0
mov ecx, dword [ebp - 0x524]
add esp, 4
cmp ecx, 0xf
jbe 0x40a663
mov edx, dword [ebp - 0x538]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a659
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a98d
push ecx
push edx
call fcn.0041eebc
add esp, 8
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a670
sub ecx, edx
mov eax, bind
mov edx, dword [ebp - 0x228]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x40a992
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push ecx
cmova eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x220]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x560]
lea ecx, [ebp - 0x538]
call fcn.004089f0
or esi, 0x10
mov dword [ebp - 0x518], esi
push 1
push 0x448e8c
lea ecx, [ebp - 0x538]
mov byte [ebp - 4], 6
call fcn.00407270
mov dword [ebp - 0x548], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x558], xmm0
mov dword [ebp - 0x544], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or esi, 0x20
mov dword [ebp - 0x518], esi
movups xmmword [ebp - 0x558], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x548], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, str.xbaibrowser.exe
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a740
sub ecx, edx
sar ecx, 1
push ecx
push str.xbaibrowser.exe
lea ecx, [ebp - 0x558]
call fcn.00407270
mov esi, dword [ebp - 0x540]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x578], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, esi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x578]
push eax
movq qword [ebp - 0x568], xmm0
call fcn.004088f0
mov ecx, dword [ebp - 0x564]
cmp ecx, 7
jbe 0x40a7de
mov edx, dword [ebp - 0x578]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a7d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a997
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov ecx, dword [ebp - 0x544]
cmp ecx, 7
jbe 0x40a81e
mov edx, dword [ebp - 0x558]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a814
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a997
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov ecx, dword [ebp - 0x524]
xor eax, eax
mov dword [ebp - 0x548], 0
mov dword [ebp - 0x544], 7
mov word [ebp - 0x558], ax
cmp ecx, 7
jbe 0x40a911
mov edx, dword [ebp - 0x538]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a875
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a997
push ecx
push edx
call fcn.0041eebc
mov al, byte [ebp - 0x511]
add esp, 8
jmp 0x40a911
mov edx, 0x26
lea ecx, [ebp - 0x538]
call fcn.0040f1c0
or esi, 0x80
lea eax, [ebp - 0x538]
mov dword [ebp - 0x518], esi
mov esi, dword [ebp - 0x540]
mov ecx, esi
push eax
call fcn.004088f0
mov ecx, dword [ebp - 0x524]
cmp ecx, 7
jbe 0x40a8fa
mov edx, dword [ebp - 0x538]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a8f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a99c
push ecx
push edx
call fcn.0041eebc
add esp, 8
push 0x1f
push str.Internet_Exploreriexplore.exe
mov ecx, esi
call fcn.00407270
mov ecx, esi
call fcn.0040f640
mov al, 1
mov ecx, dword [ebp - 0x55c]
test ecx, ecx
je 0x40a91d
mov byte [ecx], al
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x40a959
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a94f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a1
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041ee79
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00407400
call fcn.004273ec
call fcn.004273ec
call fcn.004273ec
call fcn.004273ec
call fcn.00401360
call fcn.004273ec
call fcn.004273ec
call fcn.004273ec
int3