Function at 0x40d0b0
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 0x43e5dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c
mov eax, dword [0x44d010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406c30
push 1
push 0x447e7c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004072d0
push 9
push str.local.cfg
lea ecx, [ebp - 0x2c]
call fcn.004072d0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push 0x448400
push 0x448410
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x40d379
push str.xbaibrowser
lea ecx, [ebp - 0x68]
call fcn.00406c30
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040f8b0
push 0xc
push str.Local_State
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004072d0
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, 8
jb 0x40d1d7
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d1c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3cc
push ecx
push edx
call fcn.0041e43c
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, 8
jb 0x40d21e
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d214
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3cc
push ecx
push edx
call fcn.0041e43c
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, 8
jb 0x40d26f
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d265
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3cc
push ecx
push edx
call fcn.0041e43c
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov esi, bind
mov eax, esi
sub eax, ecx
cmp eax, 4
jb 0x40d3d6
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 4
cmovae eax, dword [ebp - 0x2c]
push str..old
push ecx
push eax
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.00408ad0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
call fcn.004104e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x40d2f6
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d2ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3d1
push ecx
push edx
call fcn.0041e43c
add esp, 8
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
cmp esi, 4
jb 0x40d3d6
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 4
cmovae eax, dword [ebp - 0x2c]
push str..old
push ecx
push eax
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.00408ad0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
call fcn.00410020
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x40d379
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d36f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3d1
push ecx
push edx
call fcn.0041e43c
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x40d3af
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d3a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3d1
push ecx
push edx
call fcn.0041e43c
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.0041e3f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004267cc
call fcn.004267cc
call fcn.00401320
int3