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

Disassembly:
sub esp, 0x58
mov eax, dword [0x47d874]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax + 0x2c4], ebx
jne 0x427433
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044e472
add esp, 0x58
ret 0x14
cmp dword [esi + 0x5c], ebx
jne 0x42741e
call fcn.004268d0
push 0x2a8
mov dword [esi + 0x5c], 1
mov dword [esi + 4], 3
call fcn.004501ce
add esp, 4
cmp eax, ebx
je 0x427466
push esi
mov ecx, eax
call fcn.004256c0
jmp 0x427468
xor eax, eax
push ebp
push edi
push 0x11
mov ebp, 0xf
push str.http:__127.0.0.1:
lea ecx, [esp + 0x50]
mov dword [esi + 8], eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00404936
push 0x46dbe0
lea ecx, [esp + 0x30]
push 0x23e3
push ecx
call fcn.0042f980
add esp, 8
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00425860
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
mov edi, 0x10
cmp dword [esp + 0x28], edi
jb 0x4274d8
mov eax, dword [esp + 0x14]
push eax
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x4274f7
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044e46d
add esp, 4
mov eax, 0x47d004
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x427500
sub eax, edx
push eax
push 0x47d004
lea ecx, [esp + 0x50]
call fcn.00409e18
push 4
push str.CMD_
lea ecx, [esp + 0x50]
call fcn.00409e18
push 0xc
push str.cmdgetpeers
lea ecx, [esp + 0x50]
call fcn.00409e18
mov edx, dword [esi]
mov eax, dword [edx + 0x2cc]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0042f980
push eax
lea edx, [esp + 0x1c]
push str.policy
push edx
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
cmp dword [esp + 0x28], edi
jb 0x427580
mov eax, dword [esp + 0x14]
push eax
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x42759f
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044e46d
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx + 0x200]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0042fa10
push eax
lea edx, [esp + 0x1c]
push 0x46dd10
push edx
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
cmp dword [esp + 0x28], edi
jb 0x4275e5
mov eax, dword [esp + 0x14]
push eax
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x427604
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044e46d
add esp, 4
mov edx, dword [esi]
add edx, 0x2b0
push edx
lea eax, [esp + 0x30]
push str.fid
push eax
call fcn.004257e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
cmp dword [esp + 0x44], edi
jb 0x42763f
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044e46d
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx + 0x2e8]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0042f980
push eax
lea edx, [esp + 0x1c]
push str.fetchcount
push edx
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
cmp dword [esp + 0x28], edi
jb 0x427685
mov eax, dword [esp + 0x14]
push eax
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x4276a4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044e46d
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx + 0x37c]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0042fa10
push eax
lea eax, [esp + 0x1c]
push 0x46dde4
push eax
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
cmp dword [esp + 0x28], edi
jb 0x4276ec
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x42770b
mov edx, dword [esp + 0x30]
push edx
call fcn.0044e46d
add esp, 4
mov eax, dword [esi]
mov ecx, dword [eax + 0x37c]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0042fa10
push eax
lea ecx, [esp + 0x1c]
push 0x46ddd0
push ecx
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
cmp dword [esp + 0x28], edi
jb 0x427754
mov edx, dword [esp + 0x14]
push edx
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x427773
mov eax, dword [esp + 0x30]
push eax
call fcn.0044e46d
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jle 0x4277d8
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0042f980
push eax
lea edx, [esp + 0x1c]
push str.haspeer
push edx
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
cmp dword [esp + 0x28], edi
jb 0x4277b9
mov eax, dword [esp + 0x14]
push eax
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x4277d8
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044e46d
add esp, 4
mov eax, dword [esp + 0x70]
cmp eax, ebx
jl 0x427962
push eax
lea edx, [esp + 0x30]
push edx
call fcn.0042f980
push eax
lea eax, [esp + 0x1c]
push str.piece
push eax
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
cmp dword [esp + 0x28], edi
jb 0x427822
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x427841
mov edx, dword [esp + 0x30]
push edx
call fcn.0044e46d
add esp, 4
cmp byte [esp + 0x78], bl
je 0x427855
push str.pfirstfetch1
lea ecx, [esp + 0x4c]
call fcn.00409df6
mov eax, dword [esi]
mov ecx, dword [eax + 0x37c]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0042fa10
push eax
lea ecx, [esp + 0x1c]
push 0x46dda0
push ecx
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
cmp dword [esp + 0x28], edi
jb 0x42789e
mov edx, dword [esp + 0x14]
push edx
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x4278bd
mov eax, dword [esp + 0x30]
push eax
call fcn.0044e46d
add esp, 4
mov eax, dword [esp + 0x74]
cmp eax, ebx
jl 0x427962
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0042f980
push eax
lea edx, [esp + 0x38]
push str.nextpiece
push edx
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
lea ecx, [esp + 0x2c]
call fcn.004048ed
lea ecx, [esp + 0x10]
call fcn.004048ed
cmp byte [esp + 0x7c], bl
je 0x42791a
push str.npfirstfetch1
lea ecx, [esp + 0x4c]
call fcn.00409df6
mov eax, dword [esi]
mov ecx, dword [eax + 0x37c]
mov edx, dword [ecx + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.0042fa10
push eax
lea ecx, [esp + 0x38]
push 0x46dd70
push ecx
call fcn.004257e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00409eb4
lea ecx, [esp + 0x2c]
call fcn.004048ed
lea ecx, [esp + 0x10]
call fcn.004048ed
push 0x7530
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.00425c70
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add dword [eax + 0x2e8], 1
call ebx
cmp eax, dword [esi + 0x64]
jbe 0x4279a1
call ebx
mov ecx, dword [esi]
push str._L_Searching_resources_
add eax, 0xea60
push 3
mov dword [esi + 0x64], eax
call fcn.00414ec0
cmp dword [esp + 0x60], edi
pop edi
pop ebp
jb 0x4279b6
mov eax, dword [esp + 0x44]
push eax
call fcn.0044e46d
add esp, 4
mov ecx, dword [esp + 0x5c]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0044e472
add esp, 0x58
ret 0x14