Function at 0x44c060
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51cda7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov eax, dword [0x565e78]
push ebp
push esi
mov esi, ecx
push 0x56b5e8
lea ecx, [esp + 0x10]
mov dword [esp + 0x138], eax
call fcn.00402030
push 0xc
xor ebp, ebp
push str.webgame.ini
lea ecx, [esp + 0x14]
mov dword [esp + 0x148], ebp
call fcn.00401a20
mov eax, dword [esp + 0xc]
push eax
push ebp
push 0x540f38
push str.Game
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebp
mov dword [0x56b808], eax
jle 0x44c593
lea ecx, [esi + 0x14e0]
add esi, 0x14f0
push ebx
mov dword [esp + 0x20], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esp + 0x1c], ecx
push edi
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x148], 1
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x148], 2
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x148], 3
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, 0x56b5e8
mov byte [esp + 0x148], 4
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44c1a0
sub eax, ecx
push eax
push 0x56b5e8
lea ecx, [esp + 0x20]
call fcn.00401f00
push 0xa
push str.img_tree_
lea ecx, [esp + 0x20]
call fcn.00401a20
push ebp
lea eax, [esp + 0x14]
push 0x53d5e0
push eax
call fcn.00405820
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push ecx
push 0x104
lea edx, [esp + 0x40]
push edx
push 0x53a3bc
push str.name
push eax
call esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push 0x53c3e8
push edx
call fcn.00405820
mov eax, dword [0x56bbd4]
mov edi, dword [0x56bbd8]
add esp, 0xc
test eax, eax
je 0x44c25a
mov edx, dword [0x56bbdc]
mov ecx, edi
sub ecx, eax
sub edx, eax
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x44c25a
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, 1
call fcn.00467c40
add esp, 0xc
add edi, 4
mov dword [0x56bbd8], edi
jmp 0x44c26c
lea edx, [esp + 0x1c]
push edx
push 1
push edi
push 0x56bbd0
call fcn.00458360
push ebp
lea eax, [esp + 0x14]
push 0x53d5e0
push eax
call fcn.00405820
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push ecx
push 0x104
lea edx, [esp + 0x40]
push edx
push str.about_blank
push str.loginurl
push eax
call esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push 0x53c3e8
push edx
call fcn.00405820
push ebp
lea eax, [esp + 0x20]
push 0x53d5e0
push eax
call fcn.00405820
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0x18
push ecx
push 0x104
lea edx, [esp + 0x40]
push edx
push str.about_blank
push str.backurl
push eax
call esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x30]
push 0x53c3e8
push edx
call fcn.00405820
push ebp
lea eax, [esp + 0x20]
push 0x53d5e0
push eax
call fcn.00405820
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0x18
push ecx
push 0x104
lea edx, [esp + 0x40]
push edx
push 0x53a3bc
push str.spid
push eax
call esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x34]
push 0x53c3e8
push edx
call fcn.00405820
push ebp
lea eax, [esp + 0x20]
push 0x53d5e0
push eax
call fcn.00405820
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
add esp, 0x18
push ecx
push 0x104
lea edx, [esp + 0x40]
push edx
push 0x53a3bc
push 0x541768
push ebx
call esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push 0x53c3e8
push ecx
call fcn.00405820
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
add esp, 0xc
test eax, eax
jne 0x44c39a
xor edx, edx
jmp 0x44c3a2
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 4
test eax, eax
je 0x44c3d9
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x44c3d9
mov edx, dword [esp + 0x20]
mov edi, dword [edi + 8]
push edx
lea eax, [esp + 0x2c]
push eax
push edi
mov ecx, 1
call fcn.00467cf0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add edi, 0x10
mov dword [ecx + 8], edi
jmp 0x44c3e9
mov eax, dword [edi + 8]
push 1
push eax
push edi
lea ecx, [esp + 0x34]
call fcn.00458610
mov edx, dword [esp + 0x14]
push edx
push 0x104
lea eax, [esp + 0x40]
push eax
push str.empty.bmp
push str.icon
push ebx
call esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push 0x53c3e8
push edx
call fcn.00405820
mov edi, dword [esp + 0x28]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.00401a20
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x44c43d
xor edx, edx
jmp 0x44c445
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x44c488
mov ecx, dword [ecx + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x44c484
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
mov ecx, 1
call fcn.00467c40
mov eax, dword [esp + 0x30]
add esp, 0xc
add ebx, 4
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x10]
jmp 0x44c499
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push 1
push eax
push ecx
call fcn.00458360
mov byte [esp + 0x148], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c4bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x148], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c4e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x148], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c503
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x148], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c529
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c547
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c565
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c583
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x56b808]
inc ebp
cmp ebp, eax
jl 0x44c0f1
pop edi
pop ebx
mov dword [esp + 0x140], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
pop ebp
jg 0x44c5be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x12c]
call fcn.004b6cac
add esp, 0x13c
ret