Function at 0x6d772836
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 8], ebx
cmp dword [0x6d78112c], ebx
jne 0x6d77295e
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 [0x6d78110c], eax
call dword [ecx + 0x54]
push str.java_net_Inet4Address
mov dword [0x6d78110c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
mov ecx, dword [esi]
push eax
push esi
mov dword [0x6d781118], eax
call dword [ecx + 0x54]
push str.java_net_Inet6Address
mov dword [0x6d781118], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
mov ecx, dword [esi]
push eax
push esi
mov dword [0x6d781110], eax
call dword [ecx + 0x54]
mov ebx, 0x6d77c2ac
push ebx
mov edi, str._init_
push edi
push dword [0x6d781118]
mov dword [0x6d781110], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x84]
push ebx
push edi
push dword [0x6d781110]
mov dword [0x6d781104], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x84]
mov edi, 0x6d77c248
push edi
push str.address
push dword [0x6d78110c]
mov dword [0x6d781120], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x178]
push edi
push str.family
push dword [0x6d78110c]
mov dword [0x6d781114], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x178]
push str.Ljava_lang_String_
push str.hostName
push dword [0x6d78110c]
mov dword [0x6d781108], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x178]
push 0x6d77c23c
push str.ipaddress
push dword [0x6d781110]
mov dword [0x6d781128], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x178]
mov dword [0x6d781124], eax
mov dword [0x6d78112c], 1
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x6d772975
push str.host_is_null
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
xor eax, eax
jmp 0x6d772b5f
push ebx
push dword [ebp + 0x10]
push esi
call sub.java.dll__JNU_GetStringPlatformChars_12
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, ebx
je 0x6d77296e
cmp dword [0x6d78111c], ebx
jne 0x6d7729cc
mov eax, dword [esi]
push str.java_net_InetAddress
push esi
call dword [eax + 0x18]
cmp eax, ebx
je 0x6d7729b8
mov ecx, dword [esi]
push 0x6d77c280
push str.preferIPv6Address
push eax
push esi
call dword [ecx + 0x240]
mov dword [0x6d78111c], eax
cmp dword [0x6d78111c], ebx
jne 0x6d7729cc
push edi
push dword [ebp + 0x10]
push esi
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
jmp 0x6d77296e
push dword [0x6d78111c]
mov eax, dword [esi]
push dword [0x6d781644]
push esi
call dword [eax + 0x248]
push 0x20
mov byte [ebp + 0xb], al
lea eax, [ebp - 0x40]
push ebx
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
push edi
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x6d772a1f
push edi
push str.java_net_UnknownHostException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d7729c0
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
jmp 0x6d772ae7
mov ecx, dword [ebp - 8]
jmp 0x6d772a95
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 4]
cmp eax, edx
jne 0x6d772a88
mov edi, dword [ebx + 0x10]
cmp edi, dword [ecx + 0x10]
jne 0x6d772a88
cmp edx, 2
jne 0x6d772a60
mov edx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x18]
mov edx, dword [edx + 4]
cmp edx, dword [eax + 4]
je 0x6d772ae4
jmp 0x6d772a92
mov eax, dword [ebx + 0x18]
mov edx, dword [ecx + 0x18]
and dword [ebp - 4], 0
lea edi, [eax + 8]
sub edx, eax
mov al, byte [edi]
cmp al, byte [edx + edi]
jne 0x6d772a80
inc dword [ebp - 4]
inc edi
cmp dword [ebp - 4], 0x10
jl 0x6d772a6f
cmp dword [ebp - 4], 0x10
jge 0x6d772ae4
jmp 0x6d772a92
cmp eax, 2
je 0x6d772a92
cmp eax, 0x17
jne 0x6d772ae4
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x6d772a35
push 0x20
call dword [sym.imp.msvcr100.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x6d772b22
push 0x20
push ebx
push edi
call sub.msvcr100.dll_memcpy
and dword [edi + 0x1c], 0
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x6d772ac3
mov dword [ebp - 8], edi
jmp 0x6d772ac9
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], edi
mov eax, dword [ebx + 4]
inc dword [ebp - 0xc]
mov dword [ebp - 0x1c], edi
cmp eax, 2
jne 0x6d772adc
inc dword [ebp - 0x14]
jmp 0x6d772ae4
cmp eax, 0x17
jne 0x6d772ae4
inc dword [ebp - 0x10]
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x6d772a30
mov eax, dword [esi]
mov ebx, dword [ebp - 8]
push 0
push dword [0x6d78110c]
push dword [ebp - 0xc]
push esi
call dword [eax + 0x2b0]
mov dword [ebp - 4], eax
test eax, eax
je 0x6d772b31
cmp byte [ebp + 0xb], 0
je 0x6d772b66
mov eax, dword [ebp - 0x10]
and dword [ebp - 0xc], 0
mov dword [ebp + 8], eax
jmp 0x6d772ca3
push str.heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
and dword [ebp - 4], 0
mov edi, dword [ebp - 8]
test edi, edi
je 0x6d772b47
push edi
mov edi, dword [edi + 0x1c]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
test edi, edi
jne 0x6d772b38
push dword [ebp - 0x20]
push dword [ebp + 0x10]
push esi
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
push dword [ebp - 0x18]
call dword [sym.imp.ws2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [ebp - 0x14]
and dword [ebp + 8], 0
mov dword [ebp - 0xc], eax
jmp 0x6d772ca3
mov eax, dword [ebx + 4]
cmp eax, 2
jne 0x6d772be7
push dword [0x6d781104]
mov eax, dword [esi]
push dword [0x6d781118]
push esi
call dword [eax + 0x70]
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x6d772b2d
mov eax, dword [ebx + 0x18]
push dword [eax + 4]
mov edi, dword [esi]
call dword [sym.imp.ws2_32.dll_ntohl]
push eax
push dword [0x6d781114]
push dword [ebp - 0x14]
push esi
call dword [edi + 0x1b4]
push dword [ebp + 0x10]
mov eax, dword [esi]
push dword [0x6d781128]
push dword [ebp - 0x14]
push esi
call dword [eax + 0x1a0]
push dword [ebp - 0x14]
mov eax, dword [esi]
push dword [ebp + 8]
push dword [ebp - 4]
push esi
call dword [eax + 0x2b8]
inc dword [ebp + 8]
jmp 0x6d772ca0
cmp eax, 0x17
jne 0x6d772ca0
push dword [0x6d781120]
mov eax, dword [esi]
push dword [0x6d781110]
push esi
call dword [eax + 0x70]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x6d772b2d
mov eax, dword [esi]
push 0x10
push esi
call dword [eax + 0x2c0]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x6d772b2d
mov edx, dword [ebx + 0x18]
mov ecx, dword [esi]
add edx, 8
push edx
push 0x10
push 0
push eax
push esi
call dword [ecx + 0x340]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x6d772c67
mov ecx, dword [esi]
push eax
push dword [0x6d781618]
push edi
push esi
call dword [ecx + 0x1b4]
mov eax, dword [esi]
push 1
push dword [0x6d781620]
push edi
push esi
call dword [eax + 0x1a4]
push dword [ebp - 0x1c]
mov eax, dword [esi]
push dword [0x6d781124]
push edi
push esi
call dword [eax + 0x1a0]
push dword [ebp + 0x10]
mov eax, dword [esi]
push dword [0x6d781128]
push edi
push esi
call dword [eax + 0x1a0]
mov eax, dword [esi]
push edi
push dword [ebp - 0xc]
push dword [ebp - 4]
push esi
call dword [eax + 0x2b8]
inc dword [ebp - 0xc]
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x6d772b75
jmp 0x6d772b31