Function at 0x4074b0
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43c984
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f418]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
lea ebp, [esi + 8]
push ecx
mov ecx, ebp
mov dword [esi], vtable.CSplitFile.0
mov dword [esi + 4], eax
call fcn.00403b50
mov edx, dword [esp + 0x3c]
lea ebx, [esi + 0xc]
push edx
mov ecx, ebx
mov dword [esp + 0x2c], 0
call fcn.00403b50
mov byte [esp + 0x28], 1
call fcn.00409b15
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407529
push 0x80004005
call fcn.004038c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x28], 2
call fcn.00409b15
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407557
push 0x80004005
call fcn.004038c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [esp + 0x28], 3
mov eax, dword [esi + 4]
lea edi, [eax + eax*4]
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov ecx, dword [ebx]
push ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov eax, dword [ebp]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push eax
push eax
push ecx
lea eax, [esi + 0x30]
push str._s_s_s__s_s__s.dat
push eax
lea edi, [edi*4 + 0x451170]
call fcn.00403a60
mov edx, dword [edi + 4]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 8]
lea ecx, [esp + 0x34]
mov dword [esi + 0x38], eax
call fcn.004045a0
mov byte [esp + 0x48], 4
mov ecx, dword [esp + 0x34]
push str.ServerIniFncSplitFile.ini
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.00404650
add esp, 0x2c
mov byte [esp + 0x28], 5
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], vtable.CIniFile.0
call fcn.00403b50
mov byte [esp + 0x28], 6
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
push edx
push eax
push ecx
push str.FILE_SPLIT_SIZE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [edi + 0xc]
mov ecx, eax
mov eax, 0xcccccccd
mul edx
shr edx, 3
cmp ecx, edx
jb 0x407637
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
add eax, eax
cmp ecx, eax
jbe 0x40763a
mov ecx, dword [edi + 0xc]
mov edi, dword [edi + 8]
mov eax, ecx
shl eax, 0xa
xor edx, edx
div edi
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x34]
push ebx
imul eax, edi
mov dword [esi + 0x3c], eax
mov eax, dword [ebp]
push eax
push ebx
push eax
push eax
push ecx
lea eax, [esi + 0x40]
push str._s_s_s__s_s__s___04X.dat
push eax
call fcn.00403a60
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x20
mov dword [esp + 0x18], vtable.CIniFile.0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407699
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4076be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4076e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10