Function at 0x411a70
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4346bd
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0xc0], 1
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x411ac1
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call esi
test eax, eax
je 0x411bde
call esi
cmp eax, 0x2af9
jne 0x411af1
push str.Host_not_found..._nExiting._n
call dword [sym.imp.MSVCR80.dll_printf]
add esp, 4
call fcn.00402130
mov esi, eax
mov eax, dword [esi + 4]
xor edi, edi
push edi
add eax, 0x14
push eax
lea ecx, [esp + 0x1c]
call fcn.004198b0
mov ecx, dword [esi + 4]
mov ebx, dword [ecx]
lea ecx, [esp + 0x14]
and ebx, 0x1f
call fcn.004021e0
test bl, 0x10
je 0x411bad
mov ebx, 2
push 1
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x28], str..FileUploadFileUploadUtility.cpp
mov dword [esp + 0x2c], str.yh_FileUpload::CFileUploadUtility::ResolveHostName
mov dword [esp + 0x30], 0x29
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
push str.failed.
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x40]
push str.dns
push eax
mov byte [esp + 0xd0], bl
call fcn.00401ae0
add esp, 8
push eax
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
push eax
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 1
call fcn.00428850
lea ecx, [esp + 0xc8]
mov byte [esp + 0xc0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe4]
mov dword [esp + 0xc0], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x411c35
call esi
push eax
push str.error:_ld_n
call dword [sym.imp.MSVCR80.dll_printf]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
add esp, 8
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0xc8]
mov byte [esp + 0xc0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe4]
mov dword [esp + 0xc0], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xb4
ret