Function at 0x40d1d0
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 0x43f19d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d227
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407540
push 1
push 0x448e8c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00407270
push 9
push str.local.cfg
lea ecx, [ebp - 0x2c]
call fcn.00407270
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
push 0
push 0x449424
push 0x449434
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x40d4da
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.xbaibrowser
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.00407540
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040f3c0
push 0xc
push str.Local_State
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00407270
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x18]
movq qword [ebp - 0x50], xmm1
movups xmmword [ebp - 0x78], xmm0
cmp ecx, 7
jbe 0x40d338
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d325
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d52d
push ecx
push edx
call fcn.0041eebc
movups xmm0, xmmword [ebp - 0x78]
add esp, 8
movq xmm1, qword [ebp - 0x50]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
movq qword [ebp - 0x1c], xmm1
movups xmmword [ebp - 0x2c], xmm0
cmp ecx, 7
jbe 0x40d37f
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d375
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d52d
push ecx
push edx
call fcn.0041eebc
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 7
jbe 0x40d3d0
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d3c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d52d
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov esi, bind
mov eax, esi
sub eax, ecx
cmp eax, 4
jb 0x40d537
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 4
cmova eax, dword [ebp - 0x2c]
push str..old
push ecx
push eax
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.004089f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
cmova ecx, dword [ebp - 0x44]
call fcn.00410120
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x40d457
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d44d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d532
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
cmp esi, 4
jb 0x40d537
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 4
cmova eax, dword [ebp - 0x2c]
push str..old
push ecx
push eax
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.004089f0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x2c]
cmova edx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 7
cmova ecx, dword [ebp - 0x2c]
call fcn.0040fb70
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x40d4da
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d4d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d532
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x40d510
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d506
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d532
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
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.004273ec
call fcn.004273ec
call fcn.00401360
int3