Function at 0x10001df0
Capabilities:
Read .ini file
Resolve dns

Disassembly:
sub esp, 0x188
mov eax, dword [0x100110b0]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push 0xff
lea eax, [esp + 0x8d]
push 0
push eax
mov byte [esp + 0x94], 0
call fcn.10002cf0
push 0x7f
lea ecx, [esp + 0x19]
push 0
push ecx
mov byte [esp + 0x20], 0
call fcn.10002cf0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x18
push str....Patchloginserver.txt
push 0x100
lea edx, [esp + 0x90]
push edx
push 0x1000e264
push 0x1000e260
push 0x1000e25c
call esi
push str....Patchloginserver.txt
push 0x80
lea eax, [esp + 0x10]
push eax
push 0x1000e254
push 0x1000e250
push 0x1000e25c
call esi
lea ecx, [esp + 0x88]
push 0
push ecx
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x10012ef0
call fcn.10003284
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
push 0x100
mov dword [0x10012f30], eax
lea eax, [esp + 0x90]
push eax
push 0x1000e264
push 0x1000e260
push 0x1000e260
call esi
push str....Patchloginserver.txt
push 0x80
lea ecx, [esp + 0x10]
push ecx
push 0x1000e254
push 0x1000e250
push 0x1000e260
call esi
lea edx, [esp + 0x88]
push 0
push edx
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x10012f38
call fcn.10003284
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
mov dword [0x100125e4], eax
push 0x100
lea ecx, [esp + 0x90]
push ecx
push 0x1000e264
push 0x1000e260
push 0x1000e250
call esi
push str....Patchloginserver.txt
push 0x80
lea edx, [esp + 0x10]
push edx
push 0x1000e254
push 0x1000e250
push 0x1000e250
call esi
lea eax, [esp + 0x88]
push 0
push eax
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x10012f78
call fcn.10003284
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
push 0x100
lea edx, [esp + 0x90]
push edx
push 0x1000e264
push 0x1000e260
push 0x1000e24c
mov dword [0x10012160], eax
call esi
push str....Patchloginserver.txt
push 0x80
lea eax, [esp + 0x10]
push eax
push 0x1000e254
push 0x1000e250
push 0x1000e24c
call esi
lea ecx, [esp + 0x88]
push 0
push ecx
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x10012fb8
call fcn.10003284
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
push 0x100
mov dword [0x10012a00], eax
lea eax, [esp + 0x90]
push eax
push 0x1000e264
push 0x1000e260
push 0x1000e248
call esi
push str....Patchloginserver.txt
push 0x80
lea ecx, [esp + 0x10]
push ecx
push 0x1000e254
push 0x1000e250
push 0x1000e248
call esi
push 0
lea edx, [esp + 0x8c]
push edx
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x10012ff8
call fcn.10003284
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
push 0x100
lea ecx, [esp + 0x90]
push ecx
push 0x1000e264
push 0x1000e260
push 0x1000e244
mov dword [0x100125c0], eax
call esi
push str....Patchloginserver.txt
push 0x80
lea edx, [esp + 0x10]
push edx
push 0x1000e254
push 0x1000e250
push 0x1000e244
call esi
lea eax, [esp + 0x88]
push 0
push eax
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x10013038
call fcn.10003284
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
push 0x100
lea edx, [esp + 0x90]
push edx
push 0x1000e264
push 0x1000e260
push 0x1000e240
mov dword [0x10012180], eax
call esi
push str....Patchloginserver.txt
push 0x80
lea eax, [esp + 0x10]
push eax
push 0x1000e254
push 0x1000e250
push 0x1000e240
call esi
lea ecx, [esp + 0x88]
push 0
push ecx
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x10013078
call fcn.10003284
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
mov dword [0x100125c8], eax
push 0x100
lea eax, [esp + 0x90]
push eax
push 0x1000e264
push 0x1000e260
push 0x1000e23c
call esi
push str....Patchloginserver.txt
push 0x80
lea ecx, [esp + 0x10]
push ecx
push 0x1000e254
push 0x1000e250
push 0x1000e23c
call esi
lea edx, [esp + 0x88]
push 0
push edx
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x100130b8
call fcn.10003284
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
push 0x100
lea ecx, [esp + 0x90]
push ecx
push 0x1000e264
push 0x1000e260
push 0x1000e238
mov dword [0x100125ec], eax
call esi
push str....Patchloginserver.txt
push 0x80
lea edx, [esp + 0x10]
push edx
push 0x1000e254
push 0x1000e250
push 0x1000e238
call esi
lea eax, [esp + 0x88]
push 0
push eax
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x100130f8
call fcn.10003284
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
push 0x100
lea edx, [esp + 0x90]
push edx
push 0x1000e264
push 0x1000e260
push 0x1000e234
mov dword [0x10012178], eax
call esi
push str....Patchloginserver.txt
push 0x80
lea eax, [esp + 0x10]
push eax
push 0x1000e254
push 0x1000e250
push 0x1000e234
call esi
lea ecx, [esp + 0x88]
push 0
push ecx
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x10013138
call fcn.10003284
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push str....Patchloginserver.txt
push 0x100
mov dword [0x100125d8], eax
lea eax, [esp + 0x90]
push eax
push 0x1000e264
push 0x1000e260
push str.kjihgfedc
call esi
push str....Patchloginserver.txt
push 0x80
lea ecx, [esp + 0x10]
push ecx
push 0x1000e254
push 0x1000e250
push str.kjihgfedc
call esi
lea edx, [esp + 0x88]
push 0
push edx
call fcn.10001d50
push 0x10012af0
push 0x1000e1cc
push 0x10013178
call fcn.10003284
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10001d50
push 0x10012af0
call fcn.100036dc
add esp, 0x20
push 0x10012ef0
mov dword [0x100125e8], eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
pop esi
je 0x1000242d
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 8]
push ecx
call fcn.10003300
mov edx, dword [esp + 0xc]
add esp, 0xc
push edx
call sub.WS2_32.dll_inet_ntoa
push eax
push 0x1000e1cc
push 0x100131b8
call fcn.10003284
add esp, 0xc
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.100031a8
add esp, 0x188
ret