Function at 0x41f710
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4633d6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x478ec8]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
push esi
push edi
mov eax, dword [0x478ec8]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, dword [esp + 0x234]
mov ebp, dword [esp + 0x238]
push 0x46f8b9
lea ecx, [esp + 0x14]
call fcn.00417f60
push 0x64
lea eax, [esp + 0x58]
push 0
push eax
mov dword [esp + 0x238], 0
call fcn.00441070
push 0x64
lea ecx, [esp + 0xc8]
push 0
push ecx
call fcn.00441070
push 0x104
lea edx, [esp + 0x138]
push 0
push edx
call fcn.00441070
lea eax, [esp + 0x74]
push eax
call fcn.0041b600
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x148]
push str._sSrvConfig.ini
push edx
call fcn.00442944
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
add esp, 0x34
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f7e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x11c]
push ecx
push 0x64
lea edx, [esp + 0x5c]
push edx
push 0x46f8b9
push str.COMCODE
push str.USERINFO
call edi
lea eax, [esp + 0x11c]
push eax
push 0x64
lea ecx, [esp + 0xc0]
push ecx
push 0x46f8b9
push str.CLIENTUUID
push str.USERINFO
call edi
lea ecx, [esp + 0x14]
call fcn.0041d4c0
push str.__xml_version_1.0_____r_n
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 1
call fcn.0042bdf0
push 0
push 0
push str.resources
lea ecx, [esp + 0x20]
call fcn.0042b040
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x54]
push edx
push str.uuid
push eax
lea ecx, [esp + 0x20]
call fcn.0042a350
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xb8]
push ecx
push str.comCode
push edx
lea ecx, [esp + 0x20]
call fcn.0042a350
lea ecx, [esp + 0x14]
call fcn.00428980
push 0
push 0
push str.resource
lea ecx, [esp + 0x20]
call fcn.0042b040
mov eax, dword [esp + 0x20]
push 1
push str.resType
push eax
lea ecx, [esp + 0x20]
call fcn.0042a920
mov ecx, dword [esp + 0x20]
push 0x467c30
push str.resName
push ecx
lea ecx, [esp + 0x20]
call fcn.0042a350
fld qword [esi + 8]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x18]
push str._.1f
push edx
call fcn.00416580
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
add esp, 0x10
push eax
push str.useRate
push ecx
lea ecx, [esp + 0x20]
call fcn.0042a350
push 0
push 0
push str.resource
lea ecx, [esp + 0x20]
call fcn.0042b040
mov edx, dword [esp + 0x20]
push 2
push str.resType
push edx
lea ecx, [esp + 0x20]
call fcn.0042a920
mov eax, dword [esp + 0x20]
push 0x467c10
push str.resName
push eax
lea ecx, [esp + 0x20]
call fcn.0042a350
fld qword [esi + 0x10]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x18]
push str._.1f
push ecx
call fcn.00416580
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add esp, 0x10
push edx
push str.useRate
push eax
lea ecx, [esp + 0x20]
call fcn.0042a350
push 0
push 0
push str.resource
lea ecx, [esp + 0x20]
call fcn.0042b040
mov ecx, dword [esp + 0x20]
push 3
push str.resType
push ecx
lea ecx, [esp + 0x20]
call fcn.0042a920
mov edx, dword [esp + 0x20]
push 0x467c08
push str.resName
push edx
lea ecx, [esp + 0x20]
call fcn.0042a350
fld qword [esi]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x18]
push str._.1f
push eax
call fcn.00416580
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
add esp, 0x10
push ecx
push str.useRate
push edx
lea ecx, [esp + 0x20]
call fcn.0042a350
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.00416a40
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], 0
call fcn.0041d550
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fa3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00440e94
add esp, 0x220
ret 8