Function at 0x4023b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x43b7a2
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x44f690]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov eax, dword [0x44f690]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov dword [esp + 0x120], 0
test byte [0x453b64], 1
jne 0x402437
or dword [0x453b64], 1
push 0x441ddb
mov ecx, 0x453b60
mov byte [esp + 0x124], 1
call fcn.00401b80
push 0x43bdd0
call fcn.004265c2
add esp, 4
mov byte [esp + 0x120], 0
mov eax, dword [0x453b60]
push 0x441ddb
push eax
call fcn.00426fe9
add esp, 8
test eax, eax
setne al
test al, al
je 0x40246e
mov eax, dword [0x453b60]
add eax, 0xfffffff0
push eax
call fcn.00401c80
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x40262e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.00401b80
push 1
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x128], 2
call fcn.00404870
mov eax, dword [eax]
push 0x441ddc
push eax
call fcn.00426fe9
add esp, 8
test eax, eax
mov eax, dword [esp + 8]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4024dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4024f0
push 1
push 0x441ddc
lea ecx, [esp + 0x14]
call fcn.004050f0
mov ecx, dword [esp + 0x12c]
push 0x441df0
push ecx
call fcn.00426fe9
add esp, 8
test eax, eax
sete al
test al, al
je 0x40253f
cmp byte [esp + 0x128], 1
mov eax, str.LBTClient_
je 0x402522
mov eax, str.LBClient_
push eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00401730
add esp, 0xc
mov byte [esp + 0x120], 3
jmp 0x4025bd
mov ecx, dword [esp + 0x12c]
push 0x441e0c
push ecx
call fcn.00426fe9
add esp, 8
test eax, eax
sete al
test al, al
je 0x40258e
cmp byte [esp + 0x128], 1
mov eax, str.LBTMainClient_
je 0x402571
mov eax, str.LBMainClient_
push eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00401730
add esp, 0xc
mov byte [esp + 0x120], 4
jmp 0x4025bd
cmp byte [esp + 0x128], 1
mov eax, str.LBTPCClient_
je 0x4025a2
mov eax, str.LBPCClient_
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00401730
add esp, 0xc
mov byte [esp + 0x120], 5
push eax
mov ecx, 0x453b60
call fcn.00405670
mov byte [esp + 0x120], 2
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x453b60]
add eax, 0xfffffff0
push eax
call fcn.00401c80
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x124], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40262e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x120], 0xffffffff
mov eax, dword [esp + 0x12c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40265c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042648c
add esp, 0x11c
ret