Function at 0x411110
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x492cb6
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x4bb190]
xor eax, esp
mov dword [esp + 0x654], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb190]
xor eax, esp
push eax
lea eax, [esp + 0x66c]
mov dword fs:[0], eax
mov ebx, ecx
push 0x206
xor ebp, ebp
lea ecx, [esp + 0x25e]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x20], ebx
mov word [esp + 0x264], ax
call fcn.00467850
push 0x103
push 0x4bd788
lea edx, [esp + 0x26c]
push 0x104
push edx
call fcn.004686d0
add esp, 0x1c
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea ecx, [esp + 0x258]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x1e8
lea edx, [esp + 0x74]
push ebp
mov ecx, 8
mov esi, str.production.ini
lea edi, [esp + 0x58]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00467850
push 0x103
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x26c]
push 0x104
push ecx
call fcn.004685e2
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x1c
lea edx, [esp + 0x258]
push edx
push 0x103
lea eax, [esp + 0x58]
push eax
push 0x49ab28
push str.game
push str.param
call esi
mov ecx, 0x49ab28
lea eax, [esp + 0x50]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411246
cmp dx, bp
je 0x411242
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411246
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x411220
xor eax, eax
jmp 0x41124b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x4115a6
xor ecx, ecx
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411270
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x3c]
call fcn.00402220
push 3
push ebp
push 0x49b304
lea ecx, [esp + 0x40]
mov dword [esp + 0x680], ebp
call fcn.00410040
test eax, eax
jne 0x4112cd
push 3
push ebp
push 0x49b298
lea ecx, [esp + 0x40]
call fcn.00410040
test eax, eax
jne 0x4112cd
lea ecx, [esp + 0x34]
call fcn.00405180
jmp 0x4115a6
lea eax, [esp + 0x258]
push eax
push 0x103
lea ecx, [esp + 0x58]
push ecx
push 0x49ab28
push str.channel
push str.param
call esi
mov ecx, 0x49ab28
lea eax, [esp + 0x50]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411326
cmp dx, bp
je 0x411322
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411326
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x411300
xor eax, eax
jmp 0x41132b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x411344
cmp dword [esp + 0x4c], 8
jb 0x4115a6
mov edx, dword [esp + 0x38]
push edx
jmp 0x41159e
mov edi, dword [ebx + 0x2c8]
cmp edi, dword [ebx + 0x2cc]
jbe 0x411357
call fcn.00467a4e
mov esi, dword [ebx + 0x2bc]
lea ebp, [edi + 0x7c]
mov edi, dword [ebx + 0x2cc]
cmp dword [ebx + 0x2c8], edi
jbe 0x411373
call fcn.00467a4e
mov eax, dword [ebx + 0x2bc]
test esi, esi
je 0x411381
cmp esi, eax
je 0x411386
call fcn.00467a4e
lea ebx, [ebp - 0x7c]
cmp ebx, edi
je 0x411592
push 3
xor eax, eax
push 0x49b298
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.00402220
mov byte [esp + 0x674], 1
test esi, esi
jne 0x41146b
call fcn.00467a4e
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4113d9
call fcn.00467a4e
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x4113e8
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp - 0x48]
push ecx
push eax
push edx
push 0
lea ecx, [ebp - 0x5c]
call fcn.00404b70
test eax, eax
mov edi, 8
sete bl
mov byte [esp + 0x674], 0
cmp dword [esp + 0x30], edi
jb 0x411421
mov eax, dword [esp + 0x1c]
push eax
call fcn.004440cb
add esp, 4
test bl, bl
je 0x411563
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x46a]
push edx
mov word [esp + 0x46c], cx
call fcn.00467850
add esp, 0xc
test esi, esi
jne 0x411472
call fcn.00467a4e
xor eax, eax
lea ebx, [ebp - 0x7c]
cmp ebx, dword [eax + 0x10]
jb 0x411461
call fcn.00467a4e
cmp dword [ebp + 0x14], edi
jb 0x411476
mov eax, dword [ebp]
jmp 0x411478
mov eax, dword [esi]
jmp 0x4113cf
mov eax, dword [esi]
jmp 0x411454
mov eax, ebp
lea ecx, [esp + 0x50]
push ecx
push eax
push str._s_para_s
lea edx, [esp + 0x46c]
push 0x104
push edx
call fcn.00467806
add esp, 0x14
test esi, esi
jne 0x4114f9
call fcn.00467a4e
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4114ad
call fcn.00467a4e
lea eax, [esp + 0x460]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4114b7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x464]
push eax
lea ecx, [ebp - 4]
call fcn.00402220
test esi, esi
jne 0x4114fd
call fcn.00467a4e
xor eax, eax
lea ebx, [ebp - 0x7c]
cmp ebx, dword [eax + 0x10]
jb 0x4114ef
call fcn.00467a4e
cmp dword [ebp + 0x30], edi
jb 0x411501
mov eax, dword [ebp + 0x1c]
jmp 0x411504
mov eax, dword [esi]
jmp 0x4114a3
mov eax, dword [esi]
jmp 0x4114e2
lea eax, [ebp + 0x1c]
lea ecx, [esp + 0x50]
push ecx
push eax
push str._s_para_s
lea edx, [esp + 0x46c]
push 0x104
push edx
call fcn.00467806
add esp, 0x14
test esi, esi
jne 0x41158a
call fcn.00467a4e
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x411539
call fcn.00467a4e
lea eax, [esp + 0x460]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411543
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x464]
push eax
lea ecx, [ebp + 0x18]
call fcn.00402220
test esi, esi
jne 0x41158e
call fcn.00467a4e
xor eax, eax
lea ecx, [ebp - 0x7c]
cmp ecx, dword [eax + 0x10]
jb 0x41157b
call fcn.00467a4e
mov ebx, dword [esp + 0x14]
add ebp, 0xe8
jmp 0x411360
mov eax, dword [esi]
jmp 0x41152f
mov eax, dword [esi]
jmp 0x41156e
cmp dword [esp + 0x4c], 8
jb 0x4115a6
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004440cb
add esp, 4
mov ecx, dword [esp + 0x66c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x654]
xor ecx, esp
call fcn.004677ab
add esp, 0x664
ret