Function at 0x1002c7a0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d8c82
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1010f16c]
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
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
lea edi, [ebx + 0x24]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1002c7ed
mov eax, dword [edi]
cmp dword [ebx + 0x20], 0x10
lea ecx, [ebx + 0xc]
jb 0x1002c7f9
mov ecx, dword [ebx + 0xc]
push eax
push ecx
push str.server_init__s__s_start
push str.server::init
push 0x19
push str.d:projectwireguard_engine_rules_server.cpp
push 8
call fcn.10070dc0
add esp, 0x1c
lea ecx, [ebx + 0xc]
push dword [ebp - 0x38]
call fcn.1000fc20
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x1002c82b
mov ecx, dword [edi]
lea eax, [ebx + 0x90]
push eax
push ecx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [ebx + 0x40]
lea ecx, [ebx + 0x21c]
cmp ecx, eax
je 0x1002c85a
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1002c853
mov eax, dword [eax]
push edx
push eax
call fcn.100057f0
lea eax, [ebx + 0x58]
lea ecx, [ebx + 0x234]
cmp ecx, eax
je 0x1002c879
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1002c872
mov eax, dword [eax]
push edx
push eax
call fcn.100057f0
imul ecx, dword [ebx + 0x88], 0x32
imul eax, dword [ebx + 0x8c], 0x32
push 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xa8], ecx
push ecx
lea ecx, [ebx + 0x98]
mov dword [ebx + 0xb0], eax
call fcn.10005d60
push dword [ebx + 0xb4]
lea ecx, [ebx + 0xa0]
push dword [ebx + 0xb0]
call fcn.10005d60
lea edx, [ebp + 0x10]
mov ecx, ebx
call fcn.1005c9b0
mov esi, eax
push 0x380
mov dword [ebx + 0xbc], esi
call fcn.10090929
add esp, 0x14
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
mov ecx, eax
push esi
call fcn.1005b3a0
mov byte [ebp - 4], 0
mov dword [ebx + 0xb8], eax
test eax, eax
je 0x1002c9bb
cmp dword [edi + 0x14], 0x10
mov edx, edi
movzx esi, word [ebx + 0x3c]
jb 0x1002c91a
mov edx, dword [edi]
cmp dword [ebx + 0x248], 0x10
lea eax, [ebx + 0x234]
jb 0x1002c92b
mov eax, dword [eax]
cmp dword [ebx + 0x230], 0x10
lea ecx, [ebx + 0x21c]
jb 0x1002c93c
mov ecx, dword [ecx]
push dword [ebp - 0x30]
push esi
push edx
push eax
push ecx
lea eax, [ebp - 0x28]
push str._srv__s__s__s__d__d
push eax
call fcn.1002d2d0
add esp, 0x1c
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0xb8]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002c9a9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c99f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002caf3
push edx
push ecx
call fcn.1009091b
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebx + 0xc0]
mov dword [ebp - 0x34], eax
push eax
mov byte [ebp - 0x30], 0
call fcn.10079ba3
add esp, 4
test eax, eax
je 0x1002c9de
push eax
call fcn.10079c5b
add esp, 4
mov byte [ebp - 0x30], 1
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x3c], 3
lea ecx, [ebx + 0xf0]
mov dword [ebp - 0x38], 0
push eax
call fcn.1002d3d0
mov ecx, dword [ebx + 0x218]
cmp ecx, 3
jne 0x1002ca58
cmp dword [edi + 0x14], 0x10
jb 0x1002ca1a
mov edi, dword [edi]
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
jb 0x1002ca25
mov eax, dword [eax]
push edi
push eax
push str.server_init__s__s_end_connected
push str.server::init
push 0x3c
push str.d:projectwireguard_engine_rules_server.cpp
push 8
call fcn.10070dc0
mov ecx, dword [ebx + 0xb8]
add esp, 0x1c
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
mov byte [ebp - 0x29], 1
mov bl, byte [ebp - 0x29]
jmp 0x1002ca8b
cmp dword [edi + 0x14], 0x10
jb 0x1002ca60
mov edi, dword [edi]
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
jb 0x1002ca6b
mov eax, dword [eax]
push ecx
push edi
push eax
push str.server_init__s__s_end_status:_d
push str.server::init
push 0x41
push str.d:projectwireguard_engine_rules_server.cpp
push 8
call fcn.10070dc0
add esp, 0x20
xor bl, bl
mov byte [ebp - 4], 0
cmp byte [ebp - 0x30], 0
je 0x1002caad
push dword [ebp - 0x34]
call fcn.10079bc8
add esp, 4
test eax, eax
je 0x1002caad
push eax
call fcn.10079c5b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1002cad3
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov dword [ebp + 0x34], 0
mov al, bl
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.100908e7
mov esp, ebp
pop ebp
ret 0x30
call fcn.100abcda
int3