Function at 0x4381a2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x481028]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x481028]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
test ecx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [0x4838cc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
je 0x4383e2
lea edi, [esp + 0x2c]
call fcn.0041816c
cmp dword [esi + 8], 0
jne 0x438231
cmp dword [esi + 0x84], 0
jne 0x438220
call fcn.004389cc
test eax, eax
jne 0x438220
xor eax, eax
jmp 0x43822e
mov eax, dword [esi + 0x94]
test eax, eax
je 0x43821c
push 0
call eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esp + 0x28], 0x80004003
je 0x4383c2
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
lea edx, [esi + 0x30]
push edx
push dword [esp + 0x20]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
lea edx, [esi + 0x24]
push edx
push dword [esp + 0x20]
call dword [eax + 0xc]
mov eax, dword [0x4833bc]
mov edi, 0x4833bc
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
and dword [esp + 0x170], 0
mov eax, dword [0x4833bc]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 1
call fcn.004396b3
push str.local_path
push 0x46cc80
xor edi, edi
lea ebx, [esp + 0x1c]
call fcn.00437442
push str.use_local
mov edi, 0x46cc80
push edi
xor ecx, ecx
call fcn.00424141
xor ecx, ecx
push str.down_if_not_exists
push edi
inc ecx
mov ebx, eax
call fcn.00424141
add esp, 0x18
xor edi, edi
test ebx, ebx
je 0x438307
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edi
je 0x438307
inc edi
test eax, eax
je 0x438307
push 3
pop edi
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x174], 2
call fcn.00402030
mov ecx, eax
call fcn.0040215f
push str.Cfg_bksafe.ini
lea eax, [esp + 0x1c]
push eax
call fcn.004046e1
mov ebx, dword [esp + 0x18]
push ebx
push 1
push str.check
push str.p2p_down
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 4
or edi, ecx
test eax, eax
jne 0x43837d
call fcn.00439359
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
or edi, eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push edi
push dword [esp + 0x18]
mov edi, dword [esp + 0x28]
push edi
call dword [eax + 0x14]
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
push 0
call dword [eax + 4]
lea eax, [ebx - 0x10]
call fcn.00404929
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00404929
lea eax, [edi - 0x10]
call fcn.00404929
and dword [esi + 0x1c], 0
cmp dword [esp + 0x24], 0
je 0x4383e2
push dword [esp + 0x28]
push dword [esi + 0x3c]
push 0x503
push dword [esp + 0x30]
call fcn.00438988
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.004568ce
mov esp, ebp
pop ebp
ret 4