Function at 0x10013540
Capabilities:
Access peb ldr_data
Create thread
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002b242
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x102c4
call fcn.10018cc0
mov eax, dword [0x10033944]
xor eax, esp
mov dword [esp + 0x102c0], eax
push ebx
push esi
push edi
mov eax, dword [0x10033944]
xor eax, esp
push eax
lea eax, [esp + 0x102d8]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x10034c58
xor ebx, ebx
push ebx
push str.Enabled
mov esi, ecx
push 0x1002c9d0
mov dword [esp + 0x30], esi
call edi
push 0x10034c58
push ebx
test eax, eax
push str.ServerListSize
setne al
push 0x1002ca00
mov byte [esi], al
call edi
push 0x10034c58
push 0xa
push str.ProxyCheckInterval
push 0x1002ca38
mov dword [esi + 4], eax
call edi
push 0x10034c58
push 5
push str.ProxyCheckTimeout
push str.Setting
mov dword [esi + 8], eax
call edi
cmp byte [esi], bl
mov dword [esi + 0xc], eax
je 0x10013f67
mov eax, 1
cmp dword [esi + 4], eax
mov dword [esp + 0x18], eax
jb 0x10013f19
lea ecx, [esp + 0x1e8]
mov dword [esp + 0x24], ecx
mov edi, 8
jmp 0x10013620
push 1
push 3
lea ecx, [esp + 0x19c]
call fcn.10011990
mov dword [esp + 0x102e0], ebx
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x1a0]
push str.Server_
push eax
call fcn.1000d990
add esp, 8
mov ecx, eax
call fcn.10014500
push 0x58
call fcn.10018143
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x102e0], 1
cmp eax, ebx
je 0x1001367d
mov ecx, eax
call fcn.10014090
mov esi, eax
jmp 0x1001367f
xor esi, esi
mov byte [esp + 0x102e0], bl
push 0x10000
lea ecx, [esp + 0x2d0]
push ebx
push ecx
mov dword [esp + 0x28], esi
call fcn.10018340
add esp, 0xc
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x198]
call fcn.100058a0
mov byte [esp + 0x102e0], 2
cmp dword [eax + 0x18], edi
jb 0x100136c3
mov eax, dword [eax + 4]
jmp 0x100136c6
add eax, 4
push 0x10034c58
push 0x2000
lea ecx, [esp + 0x2d4]
push ecx
push ebx
push str.Name
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x14], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0x94], edi
jb 0x10013709
mov edx, dword [esp + 0x80]
push edx
call fcn.10018092
add esp, 4
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
je 0x10013752
lea eax, [esp + 0x2cc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10013733
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2d0]
push eax
mov ecx, esi
call fcn.10004560
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x198]
call fcn.100058a0
mov byte [esp + 0x102e0], 3
cmp dword [eax + 0x18], edi
jb 0x10013778
mov eax, dword [eax + 4]
jmp 0x1001377b
add eax, 4
push 0x10034c58
push 0x2000
lea edx, [esp + 0x2d4]
push edx
push ebx
push str.ServerIp
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x14], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0xb0], edi
jb 0x100137be
mov eax, dword [esp + 0x9c]
push eax
call fcn.10018092
add esp, 4
cmp dword [esp + 0x14], ebx
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
je 0x10013a2c
sub esp, 0x1c
mov ecx, esp
lea eax, [esp + 0x2e8]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x30], esp
mov word [ecx + 4], bx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x10013803
sub eax, edi
sar eax, 1
push eax
lea edx, [esp + 0x2ec]
push edx
call fcn.10004560
mov byte [esp + 0x102fc], 4
mov byte [esp + 0x102fc], bl
lea ecx, [esp + 0x2c4]
call fcn.10001820
mov byte [esp + 0x102e0], 5
mov eax, dword [esp + 0x2a8]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x2ac]
mov dword [esi + 0x28], ecx
mov dword [esp + 0x2c8], 7
mov dword [esp + 0x2c4], ebx
mov word [esp + 0x2b4], bx
mov byte [esp + 0x102e0], 6
lea eax, [esp + 0x2cc]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x10013883
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x2d0]
push edx
lea ecx, [esp + 0x2b8]
call fcn.10004560
push 0x20
push 0x2e
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2dc]
mov edi, 7
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], bx
call fcn.100043a0
mov byte [esp + 0x10304], 7
lea ecx, [esp + 0x164]
push ecx
mov byte [esp + 0x10308], 6
call fcn.10014e80
add esp, 0x28
mov byte [esp + 0x102e0], 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x2bc]
call fcn.100043a0
mov byte [esp + 0x102e0], 6
cmp dword [esp + 0x158], 8
jb 0x1001392d
mov edx, dword [esp + 0x144]
push edx
call fcn.10018092
add esp, 4
push 1
push 3
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x228]
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
call fcn.10011a40
mov byte [esp + 0x102e0], 9
lea ecx, [esi + 0x22]
push ecx
lea edx, [esi + 0x20]
push edx
lea eax, [esi + 0x1e]
push eax
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esp + 0x22c]
call fcn.1000e000
mov ecx, eax
call fcn.1000e000
mov ecx, eax
call fcn.1000e000
mov ecx, eax
call fcn.1000e000
mov byte [esp + 0x102e0], 6
lea ecx, [esp + 0x270]
call fcn.100035b0
lea edx, [esp + 0x270]
mov dword [esp + 0x14], edx
mov dword [esp + method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x102e0], 6
mov eax, edx
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.100170ee
add esp, 4
mov byte [esp + 0x102e0], 5
cmp dword [esp + 0x2c8], 8
jb 0x100139fe
mov ecx, dword [esp + 0x2b4]
push ecx
call fcn.10018092
add esp, 4
mov dword [esp + 0x2c8], edi
mov dword [esp + 0x2c4], ebx
mov word [esp + 0x2b4], bx
mov byte [esp + 0x102e0], bl
lea ecx, [esp + 0x2a8]
call fcn.100014a0
mov edi, 8
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x198]
call fcn.100058a0
mov byte [esp + 0x102e0], 0xb
cmp dword [eax + 0x18], edi
jb 0x10013a52
mov eax, dword [eax + 4]
jmp 0x10013a55
add eax, 4
push 0x10034c58
push 0x1e61
push str.ServerPort
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x2c], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0xe8], edi
jb 0x10013a8e
mov eax, dword [esp + 0xd4]
push eax
call fcn.10018092
add esp, 4
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x198]
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
call fcn.100058a0
mov byte [esp + 0x102e0], 0xc
cmp dword [eax + 0x18], edi
jb 0x10013acb
mov eax, dword [eax + 4]
jmp 0x10013ace
add eax, 4
push 0x10034c58
push 1
push str.ServerId
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x30], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0x40], edi
jb 0x10013afe
mov edx, dword [esp + 0x2c]
push edx
call fcn.10018092
add esp, 4
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x198]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.100058a0
mov byte [esp + 0x102e0], 0xd
cmp dword [eax + 0x18], edi
jb 0x10013b35
mov eax, dword [eax + 4]
jmp 0x10013b38
add eax, 4
push 0x10034c58
push 1
push str.RealServerId
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x34], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0x120], edi
jb 0x10013b6e
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.10018092
add esp, 4
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x198]
mov dword [esp + 0x124], 7
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], bx
call fcn.100058a0
mov byte [esp + 0x102e0], 0xe
cmp dword [eax + 0x18], edi
jb 0x10013bab
mov eax, dword [eax + 4]
jmp 0x10013bae
add eax, 4
push 0x10034c58
push ebx
push str.PvPServer
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x38], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0x78], edi
jb 0x10013bdd
mov eax, dword [esp + 0x64]
push eax
call fcn.10018092
add esp, 4
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x198]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
call fcn.100058a0
mov byte [esp + 0x102e0], 0xf
cmp dword [eax + 0x18], edi
jb 0x10013c11
mov eax, dword [eax + 4]
jmp 0x10013c14
add eax, 4
push 0x10034c58
push ebx
push str.TestServer
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x3c], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0x5c], edi
jb 0x10013c43
mov edx, dword [esp + 0x48]
push edx
call fcn.10018092
add esp, 4
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x198]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.100058a0
mov byte [esp + 0x102e0], 0x10
cmp dword [eax + 0x18], edi
jb 0x10013c7a
mov eax, dword [eax + 4]
jmp 0x10013c7d
add eax, 4
push 0x10034c58
push ebx
push str.ShowClock
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x40], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0xcc], edi
jb 0x10013cb2
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.10018092
add esp, 4
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x198]
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
call fcn.100058a0
mov byte [esp + 0x102e0], 0x11
cmp dword [eax + 0x18], edi
jb 0x10013cf2
mov eax, dword [eax + 4]
jmp 0x10013cf5
add eax, 4
push 0x10034c58
push ebx
push str.AgeLimit
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x44], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0x104], edi
jb 0x10013d2a
mov eax, dword [esp + 0xf0]
push eax
call fcn.10018092
add esp, 4
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x198]
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
call fcn.100058a0
mov byte [esp + 0x102e0], 0x12
cmp dword [eax + 0x18], edi
jb 0x10013d6a
mov eax, dword [eax + 4]
jmp 0x10013d6d
add eax, 4
push 0x10034c58
push ebx
push str.ShowBrackets
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x48], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0x13c], edi
jb 0x10013da2
mov edx, dword [esp + 0x128]
push edx
call fcn.10018092
add esp, 4
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x198]
mov dword [esp + 0x140], 7
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], bx
call fcn.100058a0
mov byte [esp + 0x102e0], 0x13
cmp dword [eax + 0x18], edi
jb 0x10013de2
mov eax, dword [eax + 4]
jmp 0x10013de5
add eax, 4
push 0x10034c58
push ebx
push str.ServerType
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x4c], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0x174], edi
jb 0x10013e1a
mov ecx, dword [esp + 0x160]
push ecx
call fcn.10018092
add esp, 4
lea edx, [esp + 0x178]
push edx
lea ecx, [esp + 0x198]
mov dword [esp + 0x178], 7
mov dword [esp + 0x174], ebx
mov word [esp + 0x164], bx
call fcn.100058a0
mov byte [esp + 0x102e0], 0x14
cmp dword [eax + 0x18], edi
jb 0x10013e5a
mov eax, dword [eax + 4]
jmp 0x10013e5d
add eax, 4
push 0x10034c58
push ebx
push str.FakeEngine
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x50], eax
mov byte [esp + 0x102e0], bl
cmp dword [esp + 0x190], edi
jb 0x10013e92
mov eax, dword [esp + 0x17c]
push eax
call fcn.10018092
add esp, 4
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x34]
mov dword [esp + 0x194], 7
mov dword [esp + 0x190], ebx
mov word [esp + 0x180], bx
call fcn.10014490
mov dword [esp + 0x102e0], 0xffffffff
lea ecx, [esp + 0x1e8]
call fcn.100035b0
mov dword [esp + method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0x102e0], 0xffffffff
lea edx, [esp + 0x1e8]
push edx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.100170ee
mov eax, dword [esp + 0x1c]
add eax, 1
add esp, 4
cmp eax, dword [esi + 4]
mov dword [esp + 0x18], eax
jbe 0x10013620
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x10013f40
mov ecx, dword [esi + 0x3c]
sub ecx, eax
sar ecx, 2
je 0x10013f40
push ebx
push ebx
push 0x100131e0
call fcn.10018f4f
add esp, 0xc
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x10013f4f
mov ebx, dword [esi + 0x3c]
sub ebx, eax
sar ebx, 2
push ebx
push str.Total_Servers_Listed:___d_
push 2
push 0x47fa00
call dword [0x10033718]
add esp, 0x10
jmp 0x10013f7c
push str.Proxy_Module_is_disabled_
push 3
push 0x47fa00
call dword [0x10033718]
add esp, 0xc
mov ecx, dword [esp + 0x102d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x102c0]
xor ecx, esp
call fcn.1001803e
mov esp, ebp
pop ebp
ret