Function at 0x6d772249
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6d781098]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edi
cmp dword [0x6d781100], edi
jne 0x6d772328
mov eax, dword [esi]
push str.java_net_InetAddress
push esi
call dword [eax + 0x18]
mov ecx, dword [esi]
push eax
push esi
mov dword [0x6d7810f0], eax
call dword [ecx + 0x54]
push str.java_net_Inet4Address
mov dword [0x6d7810f0], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
mov ecx, dword [esi]
push eax
push esi
mov dword [0x6d7810f8], eax
call dword [ecx + 0x54]
mov ecx, dword [esi]
push 0x6d77c2ac
push str._init_
push eax
push esi
mov dword [0x6d7810f8], eax
call dword [ecx + 0x84]
mov ebx, 0x6d77c248
push ebx
push str.address
push dword [0x6d7810f0]
mov dword [0x6d7810e8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x178]
push ebx
push str.family
push dword [0x6d7810f0]
mov dword [0x6d7810f4], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x178]
push str.Ljava_lang_String_
push str.hostName
push dword [0x6d7810f0]
mov dword [0x6d7810ec], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x178]
mov dword [0x6d7810fc], eax
mov dword [0x6d781100], 1
cmp dword [ebp - 0x24], edi
jne 0x6d77233f
push str.host_argument
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
xor eax, eax
jmp 0x6d772510
push edi
push dword [ebp - 0x24]
push esi
call sub.java.dll__JNU_GetStringPlatformChars_12
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp ebx, edi
je 0x6d772338
movsx eax, byte [ebx]
push eax
call dword [sym.imp.msvcr100.dll_isspace]
pop ecx
test eax, eax
je 0x6d772367
push ebx
jmp 0x6d7724f6
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.6d772180
pop ecx
pop ecx
test al, al
je 0x6d772434
mov eax, 0xff
cmp dword [ebp - 0x14], eax
ja 0x6d7724f3
cmp dword [ebp - 0x10], eax
ja 0x6d7724f3
cmp dword [ebp - 0xc], eax
ja 0x6d7724f3
mov ebx, dword [ebp - 8]
cmp ebx, eax
ja 0x6d7724f3
mov eax, dword [esi]
push edi
push dword [0x6d7810f0]
push 1
push esi
call dword [eax + 0x2b0]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x6d772501
push dword [0x6d7810e8]
mov eax, dword [esi]
push dword [0x6d7810f8]
push esi
call dword [eax + 0x70]
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x6d7723e7
mov dword [ebp - 0x18], edi
jmp 0x6d772501
movzx ecx, byte [ebp - 0xc]
movzx edx, byte [ebp - 0x10]
mov eax, dword [esi]
shl ebx, 8
or ecx, ebx
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
push ecx
call dword [sym.imp.ws2_32.dll_ntohl]
push eax
push dword [0x6d7810f4]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call dword [eax + 0x1b4]
push dword [ebp - 0x1c]
mov eax, dword [esi]
push edi
push dword [ebp - 0x18]
push esi
call dword [eax + 0x2b8]
jmp 0x6d772501
push ebx
call dword [sym.imp.ws2_32.dll_gethostbyname]
mov ebx, eax
cmp ebx, edi
je 0x6d7724f3
mov eax, dword [ebx + 0xc]
xor ecx, ecx
jmp 0x6d772450
inc ecx
add eax, 4
cmp dword [eax], edi
jne 0x6d77244c
mov eax, dword [esi]
push edi
push dword [0x6d7810f0]
push ecx
push esi
call dword [eax + 0x2b0]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x6d772501
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], edi
cmp dword [ebx], edi
je 0x6d772501
jmp 0x6d772482
xor edi, edi
push dword [0x6d7810e8]
mov eax, dword [esi]
push dword [0x6d7810f8]
push esi
call dword [eax + 0x70]
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp eax, edi
je 0x6d7723df
mov eax, dword [ebx]
push dword [eax]
mov edi, dword [esi]
call dword [sym.imp.ws2_32.dll_ntohl]
push eax
push dword [0x6d7810f4]
push dword [ebp - 0x20]
push esi
call dword [edi + 0x1b4]
push dword [ebp - 0x24]
mov eax, dword [esi]
push dword [0x6d7810fc]
push dword [ebp - 0x20]
push esi
call dword [eax + 0x1a0]
push dword [ebp - 0x20]
mov eax, dword [esi]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push esi
call dword [eax + 0x2b8]
add ebx, 4
inc dword [ebp - 0x1c]
cmp dword [ebx], 0
jne 0x6d772480
jmp 0x6d772501
push dword [ebp - 0x28]
push str.java_net_UnknownHostException
push esi
call sub.java.dll__JNU_ThrowByName_12
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push esi
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d77b1da
leave
ret 0xc