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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x10c
mov eax, dword [esp + 0x120]
mov ebp, dword [eax]
call sym._Curl_now
mov edi, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x120]
mov esi, edx
mov dword [esp + 0x60], edx
mov ebx, dword [eax]
mov eax, dword [ebx + 0xaf8]
mov edx, dword [ebx + 0xb00]
mov ecx, dword [ebx + 0xafc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
mov eax, dword [ebx + 0xb60]
mov edx, dword [ebx + 0xb64]
mov dword [esp + 0x90], ecx
mov ecx, dword [ebx + 0xb04]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x58], ecx
call sym._Curl_timediff_us
mov dword [ebx + 0xb18], eax
mov dword [ebx + 0xb1c], edx
mov edi, edx
mov esi, eax
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__divdi3
mov dword [esp + 4], edi
mov dword [esp + 8], 0x3e8
mov dword [esp + 0xc], 0
mov dword [esp], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], edx
call dbg.__divdi3
mov ecx, dword [esp + 0x90]
mov edi, eax
mov dword [esp + 0x8c], edx
cmp ecx, 0x20c49b
jg 0x46ab2e
jge 0x46ab20
mov eax, 0x3e8
mov esi, edi
mul dword [esp + 0x68]
imul ecx, ecx, 0x3e8
add edx, ecx
mov ecx, dword [esp + 0x8c]
cmp ecx, 0
jle 0x46afd3
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__divdi3
mov dword [ebx + 0xb20], eax
mov dword [ebx + 0xb24], edx
cmp dword [esp + 0x58], 0x20c49b
jg 0x46aa9e
jge 0x46aa90
imul eax, dword [esp + 0x58], 0x3e8
mov ecx, 0x3e8
mov esi, eax
mov eax, ecx
mul dword [esp + 0x70]
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0x8c]
add ecx, esi
cmp eax, 0
jle 0x46b030
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call dbg.__divdi3
mov dword [ebx + 0xb28], eax
mov eax, dword [esp + 0x50]
cmp dword [ebx + 0xae0], eax
mov dword [ebx + 0xb2c], edx
je 0x46aaea
mov esi, dword [ebx + 0xc00]
mov dword [ebx + 0xae0], eax
mov edi, 0x2aaaaaab
mov eax, esi
mov ecx, esi
imul edi
sar ecx, 0x1f
sub edx, ecx
lea eax, [edx + edx*2]
mov edx, esi
add eax, eax
sub edx, eax
mov eax, dword [ebx + 0xb00]
add eax, dword [ebx + 0xaf8]
lea ecx, [ebx + edx*8]
mov edx, dword [ebx + 0xb04]
adc edx, dword [ebx + 0xafc]
add esi, 1
cmp esi, 1
mov dword [ecx + 0xba0], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0xba4], edx
mov dword [ecx + 0xbd0], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 0xbd4], eax
mov dword [ebx + 0xc00], esi
je 0x46abc0
cmp esi, 5
mov dword [esp + 0x58], 0
jle 0x46a904
mov eax, esi
imul edi
mov eax, esi
sar eax, 0x1f
sub edx, eax
lea eax, [edx + edx*2]
add eax, eax
sub esi, eax
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], ecx
mov edx, dword [ebx + eax*8 + 0xbd4]
mov eax, dword [ebx + eax*8 + 0xbd0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call sym._Curl_timediff
mov esi, eax
mov eax, edx
mov edi, edx
or eax, esi
mov ecx, dword [esp + 0x68]
jne 0x46a94b
mov esi, 1
xor edi, edi
mov eax, dword [ecx + 0xba0]
mov edx, dword [ecx + 0xba4]
mov ecx, dword [esp + 0x58]
sub eax, dword [ebx + ecx*8 + 0xba0]
sbb edx, dword [ebx + ecx*8 + 0xba4]
cmp edx, 0
jl 0x46ab7b
jle 0x46ab70
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
fnstcw word [esp + 0x96]
fild qword [esp + 0x50]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
movzx eax, word [esp + 0x96]
fild qword [esp + 0x50]
fdiv dword [0x5d5a6c]
mov ah, 0xc
mov word [esp + 0x94], ax
fdivp st(1)
fldcw word [esp + 0x94]
fistp qword [ebx + 0xb08]
fldcw word [esp + 0x96]
mov ebx, 1
mov eax, dword [ebp + 0xb14]
and eax, 0x10
mov dword [esp + 0x50], eax
jne 0x46aaff
mov edx, dword [ebp + 0x5d4]
test edx, edx
je 0x46b111
mov dword [esp + 4], 1
mov dword [esp], ebp
call sym._Curl_set_in_callback
mov eax, dword [ebp + 0xb00]
mov edx, dword [ebp + 0xb04]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [ebp + 0xaf0]
mov edx, dword [ebp + 0xaf4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [ebp + 0xaf8]
mov edx, dword [ebp + 0xafc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0xae8]
mov edx, dword [ebp + 0xaec]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x608]
mov dword [esp], eax
call dword [ebp + 0x5d4]
mov esi, eax
mov dword [esp + 4], 0
mov dword [esp], ebp
call sym._Curl_set_in_callback
cmp esi, 0x10000001
je 0x46abf0
test esi, esi
jne 0x46b170
mov eax, dword [esp + 0x50]
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0x70], 0xa5e353f6
jbe 0x46a814
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
cmp eax, 0
jle 0x46aff0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], edx
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call dbg.__divdi3
mov dword [ebx + 0xb28], eax
mov eax, dword [esp + 0x50]
cmp dword [ebx + 0xae0], eax
mov dword [ebx + 0xb2c], edx
jne 0x46a86f
mov eax, dword [ebp + 0xb14]
xor ebx, ebx
and eax, 0x10
mov dword [esp + 0x50], eax
je 0x46a9dd
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x50]
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0x68], 0xa5e353f6
jbe 0x46a7bd
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
cmp eax, 0
jle 0x46b010
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dbg.__divdi3
mov dword [ebx + 0xb20], eax
mov dword [ebx + 0xb24], edx
jmp 0x46a800
cmp eax, 0x418937
ja 0x46a978
imul ecx, edx, 0x3e8
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x50], ecx
mov ecx, 0x3e8
mul ecx
add edx, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__divdi3
mov dword [ebx + 0xb08], eax
mov dword [ebx + 0xb0c], edx
mov ebx, 1
jmp 0x46a9ca
mov eax, dword [ebx + 0xb20]
add eax, dword [ebx + 0xb28]
mov edx, dword [ebx + 0xb24]
adc edx, dword [ebx + 0xb2c]
mov dword [ebx + 0xb08], eax
mov dword [ebx + 0xb0c], edx
mov ebx, 1
jmp 0x46a9ca
test bl, bl
je 0x46aaff
mov eax, dword [esp + 0x120]
mov ebx, dword [eax]
mov eax, dword [ebx + 0xb18]
mov edx, dword [ebx + 0xb1c]
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__divdi3
mov esi, dword [ebx + 0xb14]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
test esi, 0x80
jne 0x46ac7d
mov eax, dword [ebx + 0xe24]
mov edx, dword [ebx + 0xe20]
mov edi, eax
or edi, edx
jne 0x46b270
mov dword [esp + 4], str._____Total_______Received____Xferd__Average_Speed___Time____Time_____Time__Current_n_________________________________Dload__Upload___Total___Spent____Left__Speed_n
mov eax, dword [ebx + 0x568]
mov dword [esp], eax
call sym._curl_mfprintf
mov esi, dword [ebx + 0xb14]
or esi, 0x80
mov dword [ebx + 0xb14], esi
test esi, 0x20
je 0x46b050
mov eax, dword [ebx + 0xb2c]
mov edx, dword [ebx + 0xb28]
cmp eax, 0
jl 0x46b050
jle 0x46b047
mov ecx, dword [ebx + 0xaf0]
mov edi, dword [ebx + 0xaf4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 0x60], ecx
call dbg.__divdi3
cmp edi, 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x68], edx
jl 0x46b393
mov ecx, dword [esp + 0x60]
jle 0x46b340
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
mov dword [esp], ecx
mov dword [esp + 4], edi
call dbg.__divdi3
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebx + 0xb00]
mov edx, dword [ebx + 0xb04]
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__divdi3
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
and esi, 0x40
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
jne 0x46b293
mov edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
jg 0x46ad77
jl 0x46ad6c
cmp esi, dword [esp + 0x80]
jae 0x46ad77
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x68]
cmp edi, 0
jl 0x46b1c4
jle 0x46b2d8
mov edx, esi
sub edx, dword [esp + 0x58]
mov ecx, edi
sbb ecx, dword [esp + 0x5c]
lea eax, [esp + 0xa6]
call sym._time2str
lea eax, [esp + 0xb0]
mov edx, esi
mov ecx, edi
call sym._time2str
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xba]
call sym._time2str
mov eax, dword [ebx + 0xb14]
test al, 0x20
je 0x46b1f0
mov edi, dword [ebx + 0xaf0]
mov ebp, dword [ebx + 0xaf4]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebp
mov edi, dword [ebx + 0xb00]
mov ebp, dword [ebx + 0xb04]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebp
test al, 0x40
je 0x46b1d0
mov eax, dword [ebx + 0xaf8]
mov edx, dword [ebx + 0xafc]
mov esi, dword [ebx + 0xae8]
mov edi, dword [ebx + 0xaec]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add edx, esi
mov esi, dword [esp + 0x68]
adc ecx, edi
add esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
adc edi, dword [esp + 0x74]
cmp ecx, 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
jl 0x46b2f1
jle 0x46b211
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__divdi3
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
call dbg.__divdi3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov edx, dword [ebx + 0xb0c]
mov eax, dword [ebx + 0xb08]
lea ecx, [esp + 0xf6]
call sym._max5data
mov edx, dword [ebx + 0xb2c]
mov ebp, eax
mov eax, dword [ebx + 0xb28]
lea ecx, [esp + 0xec]
call sym._max5data
mov edx, dword [ebx + 0xb24]
mov dword [esp + 0x68], eax
lea ecx, [esp + 0xe2]
mov eax, dword [ebx + 0xb20]
call sym._max5data
mov edx, dword [ebx + 0xb04]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0xce]
mov eax, dword [ebx + 0xb00]
call sym._max5data
mov edx, dword [ebx + 0xafc]
mov edi, eax
mov eax, dword [ebx + 0xaf8]
lea ecx, [esp + 0xc4]
call sym._max5data
mov edx, dword [esp + 0x5c]
mov esi, eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xd8]
call sym._max5data
lea edx, [esp + 0xa6]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x28], edi
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0xba]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], edx
lea edx, [esp + 0xb0]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov edi, dword [esp + 0x60]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0x14], edi
mov dword [esp + 4], str._r_3I64d__s___3I64d__s___3I64d__s___s___s__s__s__s__s
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0xc], edx
mov eax, dword [ebx + 0x568]
mov dword [esp], eax
call sym._curl_mfprintf
mov eax, dword [ebx + 0x568]
mov dword [esp], eax
call sym._fflush
jmp 0x46aa80
jl 0x46afde
cmp edi, 0
ja 0x46a7e0
mov esi, 1
xor ecx, ecx
jmp 0x46a7e0
jl 0x46affb
cmp edx, 0
ja 0x46aab2
mov edx, 1
xor eax, eax
jmp 0x46aab2
jl 0x46b01b
cmp edx, 0
ja 0x46ab42
mov edx, 1
xor eax, eax
jmp 0x46ab42
jl 0x46b03b
cmp edi, 0
ja 0x46a83f
mov edi, 1
xor eax, eax
jmp 0x46a83f
cmp edx, 0
ja 0x46aca4
and esi, 0x40
je 0x46b1a0
mov eax, dword [ebx + 0xb24]
mov edx, dword [ebx + 0xb20]
cmp eax, 0
jle 0x46b193
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x68], 0
mov esi, dword [ebx + 0xaec]
mov edi, dword [ebx + 0xae8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp], edi
mov dword [esp + 4], esi
call dbg.__divdi3
cmp esi, 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
jl 0x46b379
jle 0x46b30c
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
mov dword [esp], edi
mov dword [esp + 4], esi
call dbg.__divdi3
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebx + 0xaf8]
mov edx, dword [ebx + 0xafc]
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__divdi3
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
jmp 0x46ad53
mov eax, dword [ebp + 0x5d0]
test eax, eax
je 0x46abf0
mov dword [esp + 4], 1
mov dword [esp], ebp
call sym._Curl_set_in_callback
fild qword [ebp + 0xb00]
fstp qword [esp + 0x1c]
fild qword [ebp + 0xaf0]
fstp qword [esp + 0x14]
fild qword [ebp + 0xaf8]
fstp qword [esp + 0xc]
fild qword [ebp + 0xae8]
fstp qword [esp + 4]
mov eax, dword [ebp + 0x608]
mov dword [esp], eax
call dword [ebp + 0x5d0]
jmp 0x46aa5a
mov dword [esp], ebp
mov dword [esp + 4], str.Callback_aborted
call sym._Curl_failf
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x50]
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret
jl 0x46b1a0
cmp edx, 0
ja 0x46b06e
nop
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
xor esi, esi
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
xor edi, edi
xor edx, edx
xor ecx, ecx
jmp 0x46ad92
mov esi, dword [ebx + 0xaf8]
mov edi, dword [ebx + 0xafc]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
jmp 0x46ae20
mov edi, dword [ebx + 0xb00]
mov ebp, dword [ebx + 0xb04]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebp
jmp 0x46adf8
cmp dword [esp + 0x58], 0x2710
ja 0x46ae53
cmp dword [esp + 0x5c], 0
jl 0x46b2f1
jle 0x46b2e6
mov eax, 0x64
mov ebp, dword [esp + 0x5c]
imul ecx, edi, 0x64
mov edi, dword [esp + 0x58]
mul esi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
add edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__divdi3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
jmp 0x46ae99
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._Resuming_transfer_from_byte_position__I64d_n
mov eax, dword [ebx + 0x568]
mov dword [esp], eax
call sym._curl_mfprintf
jmp 0x46ac55
mov eax, dword [ebx + 0xb24]
mov edx, dword [ebx + 0xb20]
cmp eax, 0
jl 0x46b2b3
jg 0x46b091
cmp edx, 0
ja 0x46b091
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
jmp 0x46ad53
cmp esi, 0
jbe 0x46b1c4
jmp 0x46ad86
cmp dword [esp + 0x58], 0
ja 0x46b230
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
jmp 0x46ae99
cmp edi, 0x2710
ja 0x46b0c8
cmp esi, 0
jl 0x46b379
jle 0x46b374
imul ecx, dword [ebx + 0xafc], 0x64
mov eax, 0x64
mul dword [ebx + 0xaf8]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
add edx, ecx
jmp 0x46b0f8
cmp ecx, 0x2710
ja 0x46ace6
cmp edi, 0
jl 0x46b393
jle 0x46b38e
imul ebp, dword [ebx + 0xb04], 0x64
mov eax, 0x64
mul dword [ebx + 0xb00]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
add edx, ebp
jmp 0x46ad16
cmp edi, 0
ja 0x46b31f
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
jmp 0x46ad53
cmp ecx, 0
ja 0x46b353
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
jmp 0x46ad2a