Function at 0x10003243
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 8], 0
push esi
mov esi, dword [ebp + 8]
push esi
call sym.net.dll__initInetAddressIDs_4
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
je 0x1000326b
xor eax, eax
jmp 0x10003573
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x10003285
push str.host_is_null
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
xor eax, eax
jmp 0x10003572
push edi
push 0
push ebx
push esi
call sub.java.dll__JNU_GetStringPlatformChars_12
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x1000330b
push dword [0x100125f8]
mov eax, dword [esi]
push dword [0x100125f4]
push esi
call dword [eax + 0x248]
push 0x20
mov byte [ebp + 0xb], al
lea eax, [ebp - 0x40]
push 0
push eax
call sub.msvcr100.dll_memset
and dword [ebp - 0x3c], 0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push edi
mov dword [ebp - 0x40], 2
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x10003312
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push edi
push str.java_net_UnknownHostException
push esi
cmp eax, 0x2afa
jne 0x100032fe
call fcn.1000affe
add esp, 0xc
jmp 0x10003303
call sub.java.dll__JNU_ThrowByName_12
push edi
push ebx
push esi
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
xor eax, eax
jmp 0x10003571
and dword [ebp - 0xc], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
mov edi, dword [ebp - 0x18]
jmp 0x100033dd
mov ecx, dword [ebp - 8]
jmp 0x1000338b
mov edx, dword [ecx + 4]
mov eax, dword [edi + 4]
cmp eax, edx
jne 0x1000337e
mov ebx, dword [edi + 0x10]
cmp ebx, dword [ecx + 0x10]
jne 0x1000337e
cmp edx, 2
jne 0x10003356
mov edx, dword [edi + 0x18]
mov eax, dword [ecx + 0x18]
mov edx, dword [edx + 4]
cmp edx, dword [eax + 4]
je 0x100033da
jmp 0x10003388
mov eax, dword [edi + 0x18]
mov ebx, dword [ecx + 0x18]
and dword [ebp - 4], 0
lea edx, [eax + 8]
sub ebx, eax
mov al, byte [edx]
cmp al, byte [ebx + edx]
jne 0x10003376
inc dword [ebp - 4]
inc edx
cmp dword [ebp - 4], 0x10
jl 0x10003365
cmp dword [ebp - 4], 0x10
jge 0x100033da
jmp 0x10003388
cmp eax, 2
je 0x10003388
cmp eax, 0x17
jne 0x100033da
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x1000332b
push 0x20
call dword [sym.imp.msvcr100.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x10003418
push 0x20
push edi
push ebx
call sub.msvcr100.dll_memcpy
and dword [ebx + 0x1c], 0
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x100033b9
mov dword [ebp - 8], ebx
jmp 0x100033bf
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], ebx
mov eax, dword [edi + 4]
inc dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
cmp eax, 2
jne 0x100033d2
inc dword [ebp - 0x14]
jmp 0x100033da
cmp eax, 0x17
jne 0x100033da
inc dword [ebp - 0x10]
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x10003326
mov eax, dword [esi]
mov edi, dword [ebp - 8]
push 0
push dword [0x100125f4]
push dword [ebp - 0xc]
push esi
call dword [eax + 0x2b0]
mov dword [ebp - 4], eax
test eax, eax
je 0x10003427
cmp byte [ebp + 0xb], 0
je 0x1000342f
mov eax, dword [ebp - 0x10]
and dword [ebp - 0xc], 0
mov dword [ebp + 8], eax
jmp 0x1000353d
push str.Native_heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
and dword [ebp - 4], 0
mov edi, dword [ebp - 8]
jmp 0x10003555
mov eax, dword [ebp - 0x14]
and dword [ebp + 8], 0
mov dword [ebp - 0xc], eax
jmp 0x1000353d
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x100034b7
push dword [0x1001262c]
mov eax, dword [esi]
push dword [0x10012628]
push esi
call dword [eax + 0x70]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10003423
mov eax, dword [edi + 0x18]
push dword [eax + 4]
call dword [sym.imp.ws2_32.dll_ntohl]
push eax
push ebx
push esi
call fcn.1000aa91
mov eax, dword [esi]
add esp, 0xc
push esi
call dword [eax + 0x390]
test al, al
jne 0x10003427
push dword [ebp + 0x10]
push ebx
push esi
call fcn.1000ab0f
mov eax, dword [esi]
add esp, 0xc
push esi
call dword [eax + 0x390]
test al, al
jne 0x10003427
mov eax, dword [esi]
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
push esi
call dword [eax + 0x2b8]
inc dword [ebp + 8]
jmp 0x1000353a
cmp eax, 0x17
jne 0x1000353a
push dword [0x10012610]
mov eax, dword [esi]
push dword [0x10012620]
push esi
call dword [eax + 0x70]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10003423
mov eax, dword [edi + 0x18]
add eax, 8
push eax
push ebx
push esi
call fcn.1000aa20
add esp, 0xc
test eax, eax
je 0x10003423
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x10003509
push eax
push ebx
push esi
call fcn.1000a983
add esp, 0xc
push dword [ebp + 0x10]
push ebx
push esi
call fcn.1000ab0f
mov eax, dword [esi]
add esp, 0xc
push esi
call dword [eax + 0x390]
test al, al
jne 0x10003427
mov eax, dword [esi]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 4]
push esi
call dword [eax + 0x2b8]
inc dword [ebp - 0xc]
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x1000343e
jmp 0x10003427
push edi
mov edi, dword [edi + 0x1c]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
test edi, edi
jne 0x1000354a
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 ebx
pop esi
leave
ret 0xc