Function at 0x100eac20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x14]
test esi, esi
je 0x100eae65
cmp byte [edi + 4], 0
jne 0x100eae65
cmp dword [edi + 0x828], 0xffffffff
je 0x100eae65
mov ebx, dword [ebp + 0x10]
mov eax, 0xff
cmp ecx, eax
cmovle eax, ecx
neg ebx
sbb ebx, ebx
and ebx, eax
mov al, byte [esi]
cmp al, 0x30
jl 0x100eac70
cmp al, 0x32
jle 0x100eac9e
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100eae65
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x100eae65
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
test esi, esi
je 0x100eae65
mov edx, str.127.0.0.1
mov ecx, esi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100eacc5
test al, al
je 0x100eacc1
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100eacc5
add ecx, 2
add edx, 2
test al, al
jne 0x100eaca5
xor eax, eax
jmp 0x100eacca
sbb eax, eax
or eax, 1
test eax, eax
je 0x100eacfe
mov ecx, str.0.0.0.0
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100eacf5
test dl, dl
je 0x100eacf1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100eacf5
add eax, 2
add ecx, 2
test dl, dl
jne 0x100eacd5
xor eax, eax
jmp 0x100eacfa
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100ead0e
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 0x238]
je 0x100eae65
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push dword [ebp + 0xc]
mov ecx, edi
push esi
call dword [eax + 0xbc]
push 1
push 0
push dword [esp + 0x1c]
mov ecx, edi
push dword [esp + 0x1c]
call fcn.100e7f20
test eax, eax
jne 0x100eae65
cmp ebx, 0x100
jle 0x100ead5b
push 0x9a8
push str.C:Usersw9263DesktopFormDX_PrivateFormDXSAMPRakNetRakPeer.cpp
push str.passwordDataLength___256
call fcn.10063b16
add esp, 0xc
mov eax, dword [edi + 0x3cc]
mov eax, dword [eax + 0x120]
cmp eax, dword [edi + 0x3d0]
je 0x100ead84
mov eax, dword [edi + 0x3cc]
mov eax, dword [eax + 0x120]
cmp byte [eax + 0x11c], 1
jne 0x100eade1
mov eax, dword [edi + 0x3cc]
push 0x124
mov esi, dword [eax + 0x120]
call fcn.10054653
mov ecx, dword [edi + 0x3cc]
add esp, 4
mov dword [ecx + 0x120], eax
mov eax, dword [edi + 0x3cc]
cmp dword [eax + 0x120], 0
jne 0x100eadcf
push 0x8f
push str.C:Usersw9263DesktopFormDX_PrivateFormDXSAMPRakNetSingleProducerConsumer.h
push str.writeAheadPointer__next
call fcn.10063b16
add esp, 0xc
mov eax, dword [edi + 0x3cc]
mov eax, dword [eax + 0x120]
mov dword [eax + 0x120], esi
mov esi, dword [edi + 0x3cc]
mov eax, dword [esi + 0x120]
mov dword [edi + 0x3cc], eax
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ax, word [esp + 0x14]
mov word [esi + 4], ax
call fcn.100df0c0
push ebx
push dword [ebp + 0x10]
mov dword [esi + 8], eax
lea eax, [esi + 0x16]
push eax
mov byte [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x118], 1
call fcn.100563e0
mov byte [esi + 0x116], bl
add esp, 0xc
mov eax, dword [edi + 0x3d4]
inc dword [edi + 0x3dc]
mov byte [eax + 0x11c], 1
mov eax, dword [edi + 0x3d4]
mov eax, dword [eax + 0x120]
mov dword [edi + 0x3d4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10