Function at 0x4fc060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d8378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x6613c8]
push ebx
push ebp
push edi
mov edi, ecx
push 1
add eax, 4
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], edi
call fcn.005789d4
xor ebp, ebp
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x64]
mov ecx, dword [edi + 0xa4]
xor bl, bl
cmp ecx, eax
je 0x4fc0b7
cmp eax, ebp
je 0x4fc0b7
mov dword [edi + 0xa4], eax
mov bl, 1
mov eax, dword [edi + 0xa4]
mov ecx, dword [0x6613c0]
push ebp
push eax
add ecx, 0x50
call fcn.005a9fa8
test eax, eax
jne 0x4fc0fc
mov dword [edi + 0xa4], ebp
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0057897a
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 4
test bl, bl
push esi
mov esi, dword [edi + 0xa4]
je 0x4fc118
mov ecx, dword [edi + 0x1c]
push ebp
push ebp
push 0x1009
push ecx
call dword [0x652d5c]
lea ecx, [esp + 0x10]
call fcn.00401b20
mov byte [esp + 0x60], 1
push 4
lea ecx, [esp + 0x48]
call fcn.0048a270
mov byte [esp + 0x60], 2
mov ecx, esi
call fcn.0045db70
mov ebx, eax
mov eax, edx
mov edx, dword [esi + 0x20]
mov ecx, eax
mov dword [esp + 0x30], eax
and eax, 0x7fffffff
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], ebx
fild qword [esp + 0x18]
and ecx, 0x80000000
mov dword [esp + 0x1c], ecx
xor ebp, ebp
mov dword [esp + 0x18], ebp
fild qword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x18], edx
fchs
and eax, 0x7fffffff
faddp st(1)
mov dword [esp + 0x1c], eax
and ecx, 0x80000000
push 0x400
fmul dword [0x5e2eb8]
fild qword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebp
fild qword [esp + 0x1c]
lea ecx, [esp + 0x48]
fchs
faddp st(1)
fdivp st(1)
fstp dword [esp + 0x18]
call fcn.0048a190
mov edi, eax
push 0x5ff540
push ebp
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0x790]
push 0x5e98e0
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
call fcn.0043a330
mov byte [esp + 0x60], 3
mov edx, dword [eax]
push edx
push 0x5e9758
push 1
push edi
call fcn.00489670
add esp, 0x10
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x68]
call fcn.00401b70
push 0x5ff534
push 2
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0x774]
shr eax, 0xa
push eax
push str._u_KB_s
push 3
push edi
call fcn.00489670
add esp, 0x10
push 0x401
lea ecx, [esp + 0x48]
call fcn.0048a190
mov edi, eax
push str._g_k
push ebp
mov ecx, edi
call fcn.00489630
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi]
mov ecx, esi
mov ebp, eax
call dword [edx + 0x14]
test eax, eax
jne 0x4fc2c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
jne 0x4fc2c3
sub ebp, dword [esi + 0x77c]
mov eax, 0x10624dd3
mul ebp
mov ecx, edx
xor edx, edx
shr ecx, 6
mov eax, ecx
mov ebp, 0xe10
div ebp
mov dword [esp + 0x68], eax
mov ebp, edx
xor edx, edx
mov eax, ecx
mov ecx, 0x3c
div ecx
mov eax, 0x88888889
push edx
mul ebp
shr edx, 5
push edx
mov edx, dword [esp + 0x70]
push edx
push 0x5ff784
push 1
push edi
call fcn.00489670
add esp, 0x18
jmp 0x4fc32d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
je 0x4fc31f
mov eax, dword [esi + 0x794]
test eax, eax
je 0x4fc31f
push 0x5e98e0
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call fcn.0043a330
mov byte [esp + 0x60], 4
mov edx, dword [eax]
push edx
push 0x5ff778
push 1
push edi
call fcn.00489670
add esp, 0x10
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x68]
call fcn.00401b70
jmp 0x4fc32d
push 0x5e3a20
push 1
mov ecx, edi
call fcn.00489630
push 0x5ff51c
push 2
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0x228]
mov ecx, dword [esi + 0x46c]
mov edx, dword [esi + 0x220]
push eax
mov eax, dword [esi + 0x224]
push ecx
mov ecx, dword [esi + 0x22c]
push edx
mov edx, dword [esi + 0x210]
push eax
mov eax, dword [esi + 0x214]
push ecx
push edx
push eax
push 0x5ff720
push 3
push edi
call fcn.00489670
add esp, 0x28
push 0x402
lea ecx, [esp + 0x48]
call fcn.0048a190
mov edi, eax
push str.iRYO
push 0
mov ecx, edi
call fcn.00489630
mov ecx, esi
call fcn.0045dc00
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4fc3c6
push 0x5e6fc8
call fcn.0057a0fd
add esp, 4
push eax
push 0x5e6fc8
lea ecx, [esp + 0x18]
call fcn.004053c0
jmp 0x4fc41d
cmp ecx, 0x15180
jbe 0x4fc3de
push 0x5e6fc8
lea ecx, [esp + 0x14]
call fcn.004055d0
jmp 0x4fc41d
xor edx, edx
mov eax, ecx
mov ebp, 0xe10
div ebp
mov dword [esp + 0x68], eax
mov ebp, edx
xor edx, edx
mov eax, ecx
mov ecx, 0x3c
div ecx
mov eax, 0x88888889
push edx
mul ebp
shr edx, 5
push edx
mov edx, dword [esp + 0x70]
push edx
lea eax, [esp + 0x1c]
push str._.2i:_.2i:_.2i
push eax
call fcn.0040a170
add esp, 0x14
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test eax, eax
jne 0x4fc43a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
jne 0x4fc43a
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x4fc451
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
test eax, eax
je 0x4fc44c
push 0x5ff718
jmp 0x4fc451
push 0x5e3a20
mov ecx, edi
push 1
call fcn.00489630
push 0x5ff504
push 2
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0x1ac]
mov ecx, dword [esi + 0x228]
mov edx, dword [esi + 0x1f8]
push eax
push ecx
push edx
push str._d__d__d__
push 3
push edi
call fcn.00489670
add esp, 0x18
push 0x403
lea ecx, [esp + 0x48]
call fcn.0048a190
mov edi, eax
push 0x5ff4f8
push 0
mov ecx, edi
call fcn.00489630
mov eax, dword [esp + 0x30]
push 0
push 0
push eax
push ebx
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [0x6613bc]
call fcn.004b3500
mov byte [esp + 0x60], 5
fld dword [esp + 0x14]
mov edx, dword [eax]
sub esp, 8
fstp qword [esp]
push edx
push str._s__4.2f___
push 1
push edi
call fcn.00489670
add esp, 0x18
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x68]
call fcn.00401b70
push 0x5ff4ec
push 2
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x4fc525
mov ecx, esi
call fcn.004636b0
push eax
push 0x5e3b88
push 3
push edi
call fcn.00489670
add esp, 0x10
push 0x404
lea ecx, [esp + 0x48]
call fcn.0048a190
push 0x5ff4e4
push 0
mov ecx, eax
call fcn.00489630
push 0x405
lea ecx, [esp + 0x48]
call fcn.0048a190
mov edi, eax
push 0x5ff4d8
push 0
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0x14]
push eax
push 1
mov ecx, edi
call fcn.00489630
push 0x5ff4cc
push 2
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x4fc5c9
mov eax, dword [esi + 0x2d8]
push 0
push 0
push 0
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [0x6613bc]
call fcn.004b3500
mov byte [esp + 0x60], 6
mov edx, dword [eax]
push edx
push 0x5e9758
push 3
push edi
call fcn.00489670
add esp, 0x10
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x68]
call fcn.00401b70
jmp 0x4fc5ef
mov eax, dword [esi + 0x94]
test eax, eax
je 0x4fc5da
push str.256_KB
jmp 0x4fc5e6
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4fc5ef
push str.9.28_MB
mov ecx, edi
push 3
call fcn.00489630
push 0x406
lea ecx, [esp + 0x48]
call fcn.0048a190
mov edi, eax
push 0x5ff4c0
push 0
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0x134]
push eax
push 1
mov ecx, edi
call fcn.00489630
push 0x5ff4b4
push 2
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x4fc63d
mov eax, dword [esi + 0x2dc]
jmp 0x4fc683
mov eax, dword [esi + 0x94]
test eax, eax
je 0x4fc660
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
add ecx, 0x3ffff
adc edx, 0
shrd ecx, edx, 0x12
shr edx, 0x12
push ecx
jmp 0x4fc684
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4fc694
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
push 0
add eax, 0x946fff
push 0x947000
adc ecx, 0
push ecx
push eax
call fcn.0057ac50
push eax
push 0x5e6f08
push 3
push edi
call fcn.00489670
add esp, 0x10
push 0x407
lea ecx, [esp + 0x48]
call fcn.0048a190
mov edi, eax
push 0x5ff4a8
push 0
mov ecx, edi
call fcn.00489630
push 0x5e3a20
call fcn.0057a0fd
add esp, 4
push eax
push 0x5e3a20
lea ecx, [esp + 0x18]
call fcn.004053c0
mov eax, dword [esi + 0x94]
test eax, eax
je 0x4fc710
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
test eax, eax
lea ecx, [esp + 0x10]
jne 0x4fc6ee
push 0x5e3704
jmp 0x4fc6f3
push str.__Vagaa
call fcn.004031d0
mov eax, dword [esi + 0x7e4]
test eax, eax
je 0x4fc710
push str._B_
lea ecx, [esp + 0x14]
call fcn.004031d0
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4fc737
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
lea ecx, [esp + 0x10]
jne 0x4fc72d
push 0x5e9d3c
jmp 0x4fc732
push str.__eDonkey2000
call fcn.004031d0
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x4fc779
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
lea ecx, [esp + 0x10]
jne 0x4fc757
push str.BitTorrent
jmp 0x4fc75c
push str.__BitTorrent
call fcn.004031d0
mov eax, dword [esi + 0x7bc]
test eax, eax
je 0x4fc779
push str._V_
lea ecx, [esp + 0x14]
call fcn.004031d0
mov eax, dword [esi + 0x160]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x4fc7f1
push 7
push 0x5e4090
push eax
call fcn.0057ab90
add esp, 0xc
test eax, eax
jne 0x4fc7b7
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
test eax, eax
lea ecx, [esp + 0x10]
jne 0x4fc7b0
push 0x5e7080
jmp 0x4fc7ec
push str.__HTTP
jmp 0x4fc7ec
mov eax, dword [esi + 0x160]
push 6
push str.ftp:__
push eax
call fcn.0057ab90
add esp, 0xc
test eax, eax
jne 0x4fc7f1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
lea ecx, [esp + 0x10]
jne 0x4fc7e7
push 0x5e7078
jmp 0x4fc7ec
push str.__FTP
call fcn.004031d0
mov ecx, dword [esp + 0x10]
push ecx
push 1
mov ecx, edi
call fcn.00489630
push 0x5ff49c
push 2
mov ecx, edi
call fcn.00489630
push 0x5e3a20
call fcn.0057a0fd
add esp, 4
push eax
push 0x5e3a20
lea ecx, [esp + 0x18]
call fcn.004053c0
mov eax, dword [esi + 0x94]
xor bl, bl
test eax, eax
je 0x4fc870
push 0
lea edx, [esi + 0x98]
push edx
lea eax, [esp + 0x70]
push eax
mov bl, 1
call fcn.0046a750
add esp, 0xc
mov byte [esp + 0x60], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403130
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x68]
call fcn.00401b70
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4fc8c4
test bl, bl
je 0x4fc889
push 0x5e8150
lea ecx, [esp + 0x14]
call fcn.004031d0
push 0
lea ecx, [esi + 0x80]
push ecx
lea edx, [esp + 0x70]
push edx
mov bl, 1
call fcn.0046a750
add esp, 0xc
mov byte [esp + 0x60], 8
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403130
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x68]
call fcn.00401b70
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x4fc91b
test bl, bl
je 0x4fc8e0
push 0x5e8150
lea ecx, [esp + 0x14]
call fcn.004031d0
push 0x14
lea eax, [esi + 0xac]
push eax
lea ecx, [esp + 0x70]
push ecx
mov bl, 1
call fcn.004e3620
add esp, 0xc
mov byte [esp + 0x60], 9
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403130
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x68]
call fcn.00401b70
mov edx, dword [esi + 0x160]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x4fc94e
test bl, bl
je 0x4fc93a
push 0x5e8150
lea ecx, [esp + 0x14]
call fcn.004031d0
mov eax, dword [esi + 0x160]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403130
mov eax, dword [esp + 0x10]
push eax
push 3
mov ecx, edi
call fcn.00489630
push 0x408
lea ecx, [esp + 0x48]
call fcn.0048a190
mov edi, eax
push 0x5ff48c
push 0
mov ecx, edi
call fcn.00489630
mov ecx, dword [0x6613bc]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4fca59
lea ecx, [esp + 0x68]
call fcn.00401b20
mov bl, 0xa
mov byte [esp + 0x60], bl
mov eax, dword [esi + 0x7ac]
cdq
mov dword [esp + 0x30], edx
push 0x5e98e0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
call fcn.0043a330
mov byte [esp + 0x60], 0xb
push eax
lea ecx, [esp + 0x6c]
call fcn.00405540
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x18]
call fcn.00401b70
lea ecx, [esp + 0x14]
call fcn.00401b20
mov byte [esp + 0x60], 0xc
movzx eax, byte [esi + 0x7b3]
movzx ecx, byte [esi + 0x7b2]
movzx edx, byte [esi + 0x7b1]
push eax
mov eax, dword [esi + 0x7b0]
push ecx
push edx
and eax, 0xff
push eax
lea ecx, [esp + 0x24]
push str.__u._u._u._u_
push ecx
call fcn.0040a170
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
add esp, 0x18
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.00403130
mov edx, dword [esp + 0x68]
push edx
push 1
mov ecx, edi
call fcn.00489630
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x14]
call fcn.00401b70
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x68]
call fcn.00401b70
jmp 0x4fca69
mov eax, dword [esi + 0x170]
push eax
push 1
mov ecx, edi
call fcn.00489630
push 0x5ff480
push 2
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0x164]
push eax
push 3
mov ecx, edi
call fcn.00489630
push 0x409
lea ecx, [esp + 0x48]
call fcn.0048a190
mov edi, eax
push 0x5ff474
push 0
mov ecx, edi
mov dword [esp + 0x70], 0x40a
call fcn.00489630
push 0x5ff46c
push 1
mov ecx, edi
call fcn.00489630
push 0x5ff464
push 2
mov ecx, edi
call fcn.00489630
push 0x5e6ecc
push 3
mov ecx, edi
call fcn.00489630
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x4fcbc2
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x34]
call fcn.005789d4
mov byte [esp + 0x60], 0xd
mov eax, dword [esi + 0x30c]
xor ebx, ebx
test eax, eax
jle 0x4fcbb4
lea esp, [esp]
test ebx, ebx
jl 0x4fcc29
cmp ebx, dword [esi + 0x30c]
jge 0x4fcc29
mov ecx, dword [esi + 0x308]
mov edx, dword [esp + 0x68]
mov edi, dword [ecx + ebx*4]
push edx
lea ecx, [esp + 0x48]
call fcn.0048a190
mov edx, dword [esp + 0x68]
mov ebp, eax
mov eax, dword [edi]
push eax
inc edx
push 1
mov ecx, ebp
mov dword [esp + 0x70], edx
call fcn.00489630
mov eax, dword [0x6613bc]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4fcba5
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x1c]
push ecx
push edx
push str._d__d
push 2
push ebp
call fcn.00489670
mov ecx, dword [edi + 0x18]
mov eax, 2
add esp, 0x14
cmp ecx, eax
jne 0x4fcb89
push 0x5ff5f8
jmp 0x4fcb9a
cmp dword [edi + 0x14], eax
jne 0x4fcb95
push 0x5ff5f0
jmp 0x4fcb9a
push 0x5e3a20
push 3
push ebp
call fcn.00489670
add esp, 0xc
mov eax, dword [esi + 0x30c]
inc ebx
cmp ebx, eax
jl 0x4fcb10
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x2c]
call fcn.0057897a
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.00489cd0
mov byte [esp + 0x60], 1
lea ecx, [esp + 0x44]
call fcn.0048a140
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fcc03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.0057897a
mov ecx, dword [esp + 0x58]
pop esi
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
call fcn.005a8539
int3