Function at 0x402d00
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x439f9c
mov eax, dword fs:[0]
push eax
mov eax, 0x25b0
call fcn.004256e0
mov eax, dword [0x44c7fc]
xor eax, esp
mov dword [esp + 0x25ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c7fc]
xor eax, esp
push eax
lea eax, [esp + 0x25c4]
mov dword fs:[0], eax
push 0x219
lea eax, [esp + 0x80]
push 0
push eax
mov esi, ecx
call fcn.00424fe0
push str.config.ini
lea ecx, [esi + 0x14c]
push ecx
lea edx, [esp + 0x90]
push str._s_s
push edx
call fcn.00424f17
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
add esp, 0x1c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov word [esp + 0x58], ax
lea eax, [esp + 0x7c]
push eax
push 0x1e
lea ecx, [esp + 0x44]
push ecx
push 0x43caf4
push 0x43caf0
push str.Version
call edi
lea edx, [esp + 0x3c]
push edx
call fcn.004256be
add esp, 4
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov word [esp + 0x78], ax
lea eax, [esp + 0x7c]
push eax
push 0x1e
lea ecx, [esp + 0x64]
push ecx
push 0x43cae4
push str.unid
push str.UnionID
call edi
lea edx, [esp + 0x5c]
push edx
call fcn.004256be
add esp, 4
mov dword [esi + 0x80], eax
lea eax, [esp + 0x7c]
push eax
push 0xc9
lea ecx, [esi + 0x84]
push ecx
push 0
push str.CheckVersion
push str.CheckVer
call edi
push 0x2328
lea edx, [esp + 0x29c]
push 0
push edx
call fcn.00424fe0
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
push 0x2329
lea ecx, [esp + 0x2a0]
push ecx
push str.UpdateServer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea edx, [esp + 0x7c]
push edx
push 0xc9
lea eax, [esi + 0x3a8]
push eax
push 0
push str.LoginAdvUrl
push str.CheckVer
call edi
lea ecx, [esp + 0x7c]
push ecx
push 0xc9
lea edx, [esi + 0x470]
push edx
push 0
push str.DefaultDownUrl
push str.CheckVer
call edi
push 0xffffffffffffffff
lea ecx, [esi + 0x370]
push 0
mov dword [esp + 0x2c], ecx
call fcn.00409d23
push 0xffffffffffffffff
lea ebp, [esi + 0x384]
push 0
mov ecx, ebp
call fcn.00409d23
lea ecx, [esp + 0x28]
lea edi, [esp + 0x298]
call fcn.00409c7c
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x25d4], 0
call fcn.00409d23
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402f01
sub eax, ecx
mov esi, eax
je 0x402f35
mov edi, edi
mov eax, dword [esp + 0x30]
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.00409fa4
lea edi, [edi + esi + 1]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402f28
sub eax, edx
mov esi, eax
jne 0x402f10
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x4030a7
lea ebx, [ecx + 1]
jmp 0x402f54
mov ecx, dword [esp + 0x18]
test ecx, ecx
jl 0x4030e3
cmp ecx, eax
jge 0x4030e3
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax - 0xc]
lea ecx, [edx + ecx*4]
add eax, 0xfffffffa
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00402a80
mov edi, dword [esp + 0x14]
mov esi, dword [edi - 0xc]
mov byte [esp + 0x25cc], bl
test esi, esi
jge 0x402f96
or eax, 0xffffffff
jmp 0x402faf
push 0x43ca88
push edi
call fcn.00425222
add esp, 8
test eax, eax
jne 0x402fad
or eax, 0xffffffff
jmp 0x402faf
sub eax, edi
push esi
inc eax
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.004029d0
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x25d4], 2
call fcn.00409f52
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x25cc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ffb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [edi - 0xc], 0
jge 0x403006
or eax, 0xffffffff
jmp 0x40301f
push 0x43ca88
push edi
call fcn.00425222
add esp, 8
test eax, eax
jne 0x40301d
or eax, 0xffffffff
jmp 0x40301f
sub eax, edi
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402b00
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 8]
push eax
push ecx
mov ecx, edx
mov byte [esp + 0x25d4], 3
call fcn.00409f52
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x25cc], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40306d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x25cc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403091
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
add ecx, ebx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x402f50
lea ecx, [esp + 0x28]
mov dword [esp + 0x25cc], 0xffffffff
call fcn.00409e59
mov ecx, dword [esp + 0x25c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25ac]
xor ecx, esp
call fcn.00424dca
add esp, 0x25bc
ret
call fcn.00408190
int3