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

Disassembly:
push 0xffffffffffffffff
push 0x100526d2
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x84]
xor ebx, ebx
xor eax, eax
lea ecx, [esi + 0xfc]
mov dword [esp + 0x18], esi
mov word [esi], ax
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x60], bl
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov byte [esi + 0x6c], bl
mov dword [esi + 0x70], ebx
mov byte [esi + 0x74], bl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov byte [esi + 0x80], 1
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
call fcn.10036c20
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x160], eax
mov dword [esi + 0x15c], ebx
mov dword [esp + 0x7c], ebx
mov word [esi + 0x14c], cx
xor edx, edx
mov dword [esi + 0x17c], eax
mov dword [esi + 0x178], ebx
mov word [esi + 0x168], dx
mov dword [esi + 0x198], eax
mov dword [esi + 0x194], ebx
mov word [esi + 0x184], cx
mov dword [esi + 0x1b4], eax
mov dword [esi + 0x1b0], ebx
mov word [esi + 0x1a0], dx
mov dword [esi + 0x1d0], eax
mov dword [esi + 0x1cc], ebx
mov word [esi + 0x1bc], cx
mov dword [esi + 0x1ec], eax
mov dword [esi + 0x1e8], ebx
mov word [esi + 0x1d8], dx
mov dword [esi + 0x208], eax
xor eax, eax
mov dword [esi + 0x204], ebx
mov word [esi + 0x1f4], ax
push 4
mov byte [esp + 0x80], 7
mov byte [esi + 0x20c], bl
lea ebp, [esi + 0x210]
call fcn.10038dc2
add esp, 4
cmp eax, ebx
je 0x10033c95
mov dword [eax], ebp
jmp 0x10033c97
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
lea ecx, [esi + 0x238]
mov byte [esp + 0x7c], 8
call fcn.10037a50
push 4
mov byte [esp + 0x80], 9
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x2ac], ebx
mov dword [esi + 0x2b0], ebx
lea ebp, [esi + 0x2b4]
call fcn.10038dc2
add esp, 4
cmp eax, ebx
je 0x10033cf4
mov dword [eax], ebp
jmp 0x10033cf6
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 2], ebx
mov ecx, dword [esp + 0x88]
mov dword [esi + 6], ebx
mov dword [esi + 0xa], ebx
mov dword [esi + 0xe], ebx
mov dword [esi + 0x12], ebx
mov dword [esi + 0x16], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
lea ebp, [esi + 0x130]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [esi + 0x5c], ecx
mov ecx, dword [edi + 6]
mov eax, ecx
lea edx, [eax + 2]
mov byte [esp + 0x7c], 0xa
mov dword [esp + 0x14], edx
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x10033d80
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0x1f0]
call fcn.10009330
mov eax, dword [edi + 0x12]
mov dword [esi + 0x230], eax
mov ecx, dword [edi + 0x16]
mov dword [esi + 0x234], ecx
mov edx, dword [edi + 0x1a]
mov dword [esi + 0x64], edx
mov eax, dword [edi + 0x1e]
mov dword [esi + 0x70], eax
cmp eax, ebx
je 0x10033df4
push eax
mov ecx, esi
call fcn.10033130
mov dword [esi + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x7c]
push eax
push ecx
push edx
push 0x10058478
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x18
movzx eax, word [edi + 4]
cmp ax, 0x10
jne 0x10033e86
mov eax, 1
mov word [esi], ax
movzx ecx, word [edi + 4]
mov edx, dword [edi]
push ecx
push edx
push ebp
call fcn.10038770
movzx eax, word [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.100339d0
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ebp, [esi + 0x180]
push eax
mov ecx, ebp
mov byte [esp + 0x88], 0xb
call fcn.10009230
cmp dword [esp + 0x50], 8
mov byte [esp + 0x7c], 0xa
jb 0x10033e5f
mov eax, dword [esp + 0x3c]
push eax
call fcn.100386ec
add esp, 4
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [esp + 0x44], cx
push ebp
lea ecx, [esi + 0x148]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
call fcn.10009230
jmp 0x10033f39
cmp ax, 0x14
jne 0x10033f17
mov edx, 2
mov word [esi], dx
movzx eax, word [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [esi + 0x118]
push eax
call fcn.10038770
movzx edx, word [edi + 4]
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.100339d0
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ebp, [esi + 0x164]
push eax
mov ecx, ebp
mov byte [esp + 0x88], 0xc
call fcn.10009230
cmp dword [esp + 0x34], 8
mov byte [esp + 0x7c], 0xa
jb 0x10033ef3
mov edx, dword [esp + 0x20]
push edx
call fcn.100386ec
add esp, 4
push 0xffffffffffffffff
push ebx
xor eax, eax
push ebp
lea ecx, [esi + 0x148]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
call fcn.10009230
jmp 0x10033f39
mov eax, dword [esi + 0x5c]
xor ecx, ecx
mov word [esi], cx
movzx edx, word [edi + 4]
push edx
push eax
push 0x10058430
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
movzx ecx, word [edi + 4]
mov edx, dword [edi]
push ecx
push edx
lea eax, [esi + 2]
push eax
call fcn.10038770
mov edx, dword [edi + 0xa]
mov eax, edx
add esp, 0xc
lea ebp, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10033f55
sub eax, ebp
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x19c]
call fcn.10009330
mov edi, dword [edi + 0xe]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10033f80
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esi + 0x1b8]
call fcn.10009330
lea eax, [esi + 0xec]
push eax
mov dword [esi + 0x8c], ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor ecx, ecx
mov dword [esi + 0x10c], 0xffffffff
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
lea edx, [esp + 0x54]
push ebx
push edx
mov byte [esp + 0x84], 0xd
call fcn.100121c0
add esp, 8
push 9
push str.livep.dat
lea ecx, [esp + 0x5c]
call fcn.1000b310
mov eax, dword [esp + 0x58]
mov ebp, 8
cmp dword [esp + 0x6c], ebp
jae 0x10034005
lea eax, [esp + 0x58]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xc8
push str.itimeout
push str.intra
call edi
cmp eax, 0x3e8
mov dword [esi + 0x290], eax
jg 0x1003402f
cmp eax, 0x32
jge 0x10034039
mov dword [esi + 0x290], 0xc8
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebp
jae 0x10034047
lea eax, [esp + 0x58]
push eax
push 0x3e8
push str.dtimeout2
push str.intra
call edi
cmp eax, 0x7530
mov dword [esi + 0x294], eax
jg 0x1003406b
cmp eax, 0x64
jge 0x10034075
mov dword [esi + 0x294], 0x3e8
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebp
jae 0x10034083
lea eax, [esp + 0x58]
push eax
push 0x4000
push str.ipacketsize
push str.intra
call edi
cmp eax, 0x20000
mov dword [esi + 0x298], eax
jg 0x100340a9
cmp eax, 0x400
jge 0x100340b3
mov dword [esi + 0x298], 0x4000
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebp
jae 0x100340c1
lea eax, [esp + 0x58]
push eax
mov ebp, 3
push ebp
push str.imaxlostcount
push str.intra
call edi
cmp eax, 0x1e
mov dword [esi + 0x2a0], eax
jg 0x100340e3
cmp eax, ebx
jge 0x100340e9
mov dword [esi + 0x2a0], ebp
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x100340f8
lea eax, [esp + 0x58]
push eax
push ebp
push str.imaxhandshakecount
push str.intra
call edi
cmp eax, 0x1e
mov dword [esi + 0x2a4], eax
jg 0x10034116
cmp eax, 1
jge 0x1003411c
mov dword [esi + 0x2a4], ebp
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x1003412b
lea eax, [esp + 0x58]
push eax
push 0xfa0
push str.ihandshaketime
push str.intra
call edi
cmp eax, 0x2710
mov dword [esi + 0x2a8], eax
jg 0x10034151
cmp eax, 0x1f4
jge 0x1003415b
mov dword [esi + 0x2a8], 0xfa0
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x1003416a
lea eax, [esp + 0x58]
push eax
push 0x1388
push str.iwaitingtime
push str.intra
call edi
cmp eax, 0x2710
mov dword [esi + 0x2ac], eax
jg 0x10034190
cmp eax, 0x1f4
jge 0x1003419a
mov dword [esi + 0x2ac], 0x1388
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x100341a9
lea eax, [esp + 0x58]
push eax
push ebp
push str.imaxensurecount
push str.intra
call edi
cmp eax, 0xff
mov dword [esi + 0x2b0], eax
jg 0x100341c9
cmp eax, 1
jge 0x100341cf
mov dword [esi + 0x2b0], ebp
mov eax, dword [esp + 0x58]
mov ebp, 8
cmp dword [esp + 0x6c], ebp
jae 0x100341e2
lea eax, [esp + 0x58]
push eax
push 0x14
push str.imaxlimitretry
push str.intra
call edi
cmp eax, 0x1f4
mov dword [esi + 0x88], eax
jg 0x10034202
cmp eax, ebx
jge 0x1003420c
mov dword [esi + 0x88], 0x14
push 2
push 0x1770
lea ecx, [esi + 0x238]
call fcn.10037a80
cmp dword [esp + 0x6c], ebp
jb 0x10034231
mov eax, dword [esp + 0x58]
push eax
call fcn.100386ec
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10038723
add esp, 0x6c
ret 8