Function at 0x415260
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420e82
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x42d030]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, ecx
push str.dlied6.qq.com
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x208], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str.dl.softmgr.qq.com
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor edi, edi
push edi
lea ecx, [ebp - 0x68]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
cmp eax, 0xffffffff
je 0x415318
call fcn.00403000
lea esi, [ebp - 0x224]
call fcn.00413bc0
cmp dword [eax + 0x14], edi
mov ecx, esi
sete byte [ebp - 0x1fd]
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 edi, 1
lea eax, [ebp - 0x68]
jmp 0x415355
push 0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
cmp eax, 0xffffffff
je 0x41536c
call fcn.00403000
lea esi, [ebp - 0x224]
call fcn.00413be0
cmp dword [eax + 0x14], edi
mov ecx, esi
sete byte [ebp - 0x1fd]
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 edi, 2
lea eax, [ebp - 0x4c]
xor edx, edx
cmp byte [ebp - 0x1fd], dl
push eax
setne dl
lea ecx, [ebp - 0x30]
mov esi, edx
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp - 0x204]
push 0x4263c4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
test esi, esi
mov dword [ebp - 0x208], 1
je 0x415498
push 0x18e
lea ecx, [ebp - 0x1fa]
push 0
push ecx
mov word [ebp - 0x1fc], 0
call fcn.0041ecbc
add esp, 0xc
lea edx, [ebp - 0x1fc]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4153cc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
call fcn.00402150
push eax
mov edx, 4
call fcn.00419930
test eax, eax
je 0x415421
cmp dword [ebx + 0x18], 0x10
jb 0x4153f4
mov ebx, dword [ebx + 4]
jmp 0x4153f7
add ebx, 4
push ebx
push edi
push str.CQMDldClientTask::GetSpecialUrlHostIp:_Mode___d___DownloadUrl___s_
push str.CQMDldClientTask::GetSpecialUrlHostIp
push 0x19b
push str.D:jenkins_TrunkworkspaceMainline_SourceJob_2qqpcmgr_projFTHardwareQMPublicExeQMDLQMDldClientTask.cpp
push 0
push 4
push 0
call fcn.00402150
push eax
call fcn.00419af0
add esp, 0x28
test esi, esi
je 0x415490
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
lea esi, [ebp - 0x224]
call fcn.00416300
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x204]
push eax
mov ecx, esi
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp edi, 1
jne 0x415479
call fcn.00403000
lea ecx, [eax + 0x104]
push esi
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x4154ed
cmp edi, 2
jne 0x415490
call fcn.00403000
lea ecx, [eax + 0x120]
push esi
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x4154ed
test edi, edi
je 0x4154ed
cmp edi, 1
jne 0x4154b7
call fcn.00403000
lea esi, [ebp - 0x224]
call fcn.00413bc0
mov byte [ebp - 4], 5
jmp 0x4154d0
cmp edi, 2
jne 0x4154ed
call fcn.00403000
lea esi, [ebp - 0x224]
call fcn.00413be0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x204]
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
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, [ebp - 0x30]
mov byte [ebp - 4], 2
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, [ebp - 0x4c]
mov byte [ebp - 4], 1
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, [ebp - 0x68]
mov byte [ebp - 4], 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_]
mov eax, dword [ebp - 0x204]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e838
mov esp, ebp
pop ebp
ret 4