Function at 0x424ec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x58
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax + 0x2c4], 0
jne 0x424ef0
xor al, al
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004451f4
add esp, 0x58
ret 0x14
cmp dword [esi + 0x5c], 0
jne 0x424edc
call fcn.00424680
push 0x2a8
mov dword [esi + 0x5c], 1
mov dword [esi + 4], 3
call fcn.004452c6
add esp, 4
test eax, eax
je 0x424f24
push esi
mov ecx, eax
call fcn.004238b0
jmp 0x424f26
xor eax, eax
push edi
push str.http:__127.0.0.1:
lea ecx, [esp + 0x44]
mov dword [esi + 8], eax
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 0x44b7e8
lea ecx, [esp + 0xc]
push 0x23e3
push ecx
call fcn.00427200
add esp, 8
push eax
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
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, [esp + 0x24]
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 + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x459004
lea ecx, [esp + 0x44]
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__]
push str.CMD_
lea ecx, [esp + 0x44]
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__]
push str.cmdgetpeers
lea ecx, [esp + 0x44]
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__]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2cc]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00427200
mov edi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
lea eax, [esp + 0x14]
push str.policy
push eax
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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 ecx, dword [esi]
mov edx, dword [ecx + 0x200]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00427250
push eax
lea ecx, [esp + 0x14]
push 0x44b93c
push ecx
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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 edx, dword [esi]
add edx, 0x2b0
push edx
lea eax, [esp + 0xc]
push str.fid
push eax
call edi
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 ecx, dword [esi]
mov edx, dword [ecx + 0x2e8]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00427200
push eax
lea ecx, [esp + 0x14]
push str.fetchcount
push ecx
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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 edx, dword [esi]
mov eax, dword [edx + 0x37c]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00427250
push eax
lea eax, [esp + 0x14]
push 0x44ba10
push eax
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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 ecx, dword [esi]
mov edx, dword [ecx + 0x37c]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00427250
push eax
lea edx, [esp + 0x14]
push 0x44b9fc
push edx
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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 [esp + 0x64]
test eax, eax
jle 0x42516f
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00427200
push eax
lea ecx, [esp + 0x14]
push str.haspeer
push ecx
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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 [esp + 0x68]
test eax, eax
jl 0x4252b1
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00427200
push eax
lea eax, [esp + 0x14]
push str.piece
push eax
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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 byte [esp + 0x70], 0
je 0x4251cb
push str.pfirstfetch1
lea ecx, [esp + 0x44]
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__]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x37c]
mov eax, dword [edx + 8]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00427250
push eax
lea edx, [esp + 0x14]
push 0x44b9cc
push edx
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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 [esp + 0x6c]
test eax, eax
jl 0x4252b1
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00427200
push eax
lea ecx, [esp + 0x14]
push str.nextpiece
push ecx
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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 byte [esp + 0x74], 0
je 0x42526c
push str.npfirstfetch1
lea ecx, [esp + 0x44]
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__]
mov edx, dword [esi]
mov eax, dword [edx + 0x37c]
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00427250
push eax
lea eax, [esp + 0x14]
push 0x44b99c
push eax
call edi
add esp, 0x14
push eax
lea ecx, [esp + 0x44]
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, [esp + 8]
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 + 0x24]
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, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
add eax, 0x7530
cmp dword [esp + 0x58], 0x10
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x44]
jae 0x4252d0
lea eax, [esp + 0x44]
mov ecx, dword [esi + 8]
push eax
call fcn.00423250
mov eax, dword [esi]
add dword [eax + 0x2e8], 1
call edi
cmp eax, dword [esi + 0x64]
jbe 0x425301
call edi
mov ecx, dword [esi]
push str._L_Searching_resources_
add eax, 0xea60
push 3
mov dword [esi + 0x64], eax
call fcn.00413df0
lea ecx, [esp + 0x40]
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 ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.004451f4
add esp, 0x58
ret 0x14