Function at 0x426fe0
Capabilities:
Convert ip address from string
Get geographical location
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ede3
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x48c06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc8
lea eax, [ebp - 0xf4]
push 0
push eax
call fcn.00447720
add esp, 0xc
mov dword [ebp - 0xf4], 0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf0], 0
call fcn.00410ed0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0
call fcn.00410fa0
lea ecx, [ebp - 0xf4]
call fcn.00410ed0
push 0x47fc80
push str.server_settings.xml
call fcn.0044ed3b
mov esi, eax
mov dword [ebp - 0xf8], fcn.00410ca0
add esp, 8
mov dword [ebp - 0xfc], esi
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xf4]
lea ecx, [ebp - 0x108]
push eax
sub esp, 8
push esi
call fcn.00410ba0
add esp, 0x10
mov byte [ebp - 4], 2
test esi, esi
je 0x4270b8
push esi
call fcn.00410ca0
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x108], 0
jne 0x4276f3
push str.Settings
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
lea ecx, [ebp - 0xf4]
call fcn.00410ce0
push 0x48033c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00410ce0
push str.Ping
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00410ce0
push str.value
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x480348
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.00410ce0
mov ecx, eax
call fcn.00410d70
push str.value
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push str.Port
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.00410ce0
mov ecx, eax
call fcn.00410d70
push 0x480354
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.00410d70
push 0x480358
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.00410d70
push str.value
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.ShowClients
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00410ce0
mov ecx, eax
call fcn.00410d70
mov eax, dword [ebp - 0x24]
mov esi, 0x47f195
mov dword [ebp - 0x20], 0
test eax, eax
je 0x4271f5
mov eax, dword [eax + 8]
mov ecx, esi
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x24]
push eax
push 0x4800d8
push ecx
call fcn.00409eb0
movzx eax, word [ebp - 0x24]
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x427219
mov eax, dword [eax + 8]
mov ecx, esi
test eax, eax
push 0x48f694
cmovne ecx, eax
push 0x480368
push ecx
call fcn.00409eb0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x427257
mov eax, dword [eax + 8]
mov ecx, esi
test eax, eax
push 0x48f690
cmovne ecx, eax
push 0x480368
push ecx
call fcn.00409eb0
mov ecx, dword [0x48f690]
add esp, 0xc
mov eax, dword [0x48f694]
cmp ecx, eax
jae 0x427257
mov dword [0x48f690], eax
mov dword [0x48f694], ecx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42728c
mov dword [ebp - 0x18], 0
mov ecx, esi
mov eax, dword [eax + 8]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x18]
push eax
push 0x4800d8
push ecx
call fcn.00409eb0
add esp, 0xc
cmp dword [ebp - 0x18], 0
setne byte [0x48f685]
push 0x10
call fcn.0042f713
mov edi, eax
add esp, 4
mov dword [ebp - 0xf8], edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4272b0
mov edx, dword [ecx + 8]
test edx, edx
jne 0x4272b5
mov edx, 0x47f195
mov ecx, edx
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4272d5
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x114]
call fcn.00402250
xorps xmm0, xmm0
lea ebx, [edi + 4]
movq qword [edi + 8], xmm0
mov eax, 2
mov word [edi], ax
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x100], 0x10
push ebx
cmovae eax, dword [ebp - 0x114]
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
je 0x42732e
mov byte [ebx], 0x7f
mov word [edi + 5], 0
mov byte [edi + 7], 1
mov ebx, dword [ebp - 0x20]
push ebx
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 2], ax
mov edx, dword [ebp - 0x100]
cmp edx, 0x10
jb 0x427376
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42736c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427729
push edx
push ecx
call fcn.0042f743
add esp, 8
mov byte [ebp - 4], 0
mov edx, str.__City_Server__
mov ecx, 0x48e550
mov dword [0x48f69c], edi
call fcn.00405620
push eax
call fcn.004058e0
mov ecx, dword [0x48f69c]
lea eax, [ebp - 0x114]
add esp, 4
push eax
call fcn.004019a0
mov edi, eax
mov edx, str.IP:
mov byte [ebp - 4], 4
mov ecx, 0x48e550
call fcn.00405620
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x4273ca
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.0040d510
push eax
call fcn.004058e0
mov byte [ebp - 4], 0
add esp, 8
mov edx, dword [ebp - 0x100]
cmp edx, 0x10
jb 0x42741b
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x427411
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42772e
push edx
push ecx
call fcn.0042f743
add esp, 8
push ebx
mov edx, str.Port:
mov ecx, 0x48e550
call fcn.00405620
mov ecx, eax
call fcn.00427c70
push eax
call fcn.004058e0
mov edx, str.Version:
mov ecx, 0x48e550
call fcn.00405620
mov edx, str.0.8.1
mov ecx, eax
call fcn.00405620
push eax
call fcn.004058e0
push eax
call fcn.004058e0
add esp, 0xc
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x28]
push str.City
push eax
call fcn.00410ce0
push str.Size
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00410ce0
push str.width
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.00410d70
push str.height
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.00410d70
push str.value
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push str.ShowField
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00410ce0
mov ecx, eax
call fcn.00410d70
push 0x47fc90
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push str.Cars
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00410ce0
mov ecx, eax
call fcn.00410d70
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42753c
mov eax, dword [eax + 8]
mov ecx, esi
test eax, eax
push 0x48ca8c
cmovne ecx, eax
push 0x480368
push ecx
call fcn.00409eb0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x427560
mov eax, dword [eax + 8]
mov ecx, esi
test eax, eax
push 0x48ca94
cmovne ecx, eax
push 0x480368
push ecx
call fcn.00409eb0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x427595
mov dword [ebp - 0x1c], 0
mov ecx, esi
mov eax, dword [eax + 8]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 0x4800d8
push ecx
call fcn.00409eb0
add esp, 0xc
cmp dword [ebp - 0x1c], 0
setne byte [0x48f684]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4275b9
mov eax, dword [eax + 8]
mov ecx, esi
test eax, eax
push 0x48f68c
cmovne ecx, eax
push 0x480368
push ecx
call fcn.00409eb0
add esp, 0xc
push str.value
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push str.ObjectsLimit
lea eax, [ebp - 0xf8]
push eax
push str.Command
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.00410ce0
mov ecx, eax
call fcn.00410ce0
mov ecx, eax
call fcn.00410d70
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x427618
mov eax, dword [eax + 8]
mov ecx, esi
test eax, eax
push 0x48ca90
cmovne ecx, eax
push 0x480368
push ecx
call fcn.00409eb0
add esp, 0xc
push str.Probabilities
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00410ce0
push str.probability
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push str.Hydrant
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00410ce0
mov ecx, eax
call fcn.00410d70
push str.probability
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push str.Roof
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00410ce0
mov ecx, eax
call fcn.00410d70
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4276aa
mov eax, dword [eax + 8]
mov ecx, esi
test eax, eax
push 0x48ca84
cmovne ecx, eax
push 0x47f614
push ecx
call fcn.00409eb0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4276cc
mov eax, dword [eax + 8]
test eax, eax
push 0x48ca88
cmovne esi, eax
push 0x47f614
push esi
call fcn.00409eb0
add esp, 0xc
lea ecx, [ebp - 0xf4]
call fcn.00410fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f1ff
mov esp, ebp
pop ebp
ret
push ecx
mov edx, str.Error:_could_not_open_the_settings_file__
mov ecx, 0x48e550
call fcn.00405620
mov edx, str.server_settings.xml
mov ecx, eax
call fcn.00405620
mov edx, 0x47f244
mov ecx, eax
call fcn.00405620
mov ecx, eax
call fcn.00403b20
push 1
call fcn.004551f6
call fcn.0044b2e7
call fcn.0044b2e7
int3