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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [esp + 0x110]
mov esi, dword [eax]
mov ebx, dword [esi + 0x5b0]
call fcn.00420e30
mov ecx, eax
sub eax, dword [esi + 0x538]
mov dword [esp + 0x50], edx
mov dword [esp + 0x88], eax
mov eax, edx
sub eax, dword [esi + 0x53c]
fild dword [esp + 0x88]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x4c8]
fild dword [esp + 0x88]
fdiv dword [0x4680d4]
mov edx, dword [esi + 0x4cc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
faddp st(1)
fst qword [esi + 0x4f0]
fild qword [esp + 0x48]
fldz
fxch st(2)
fucomi st(2)
fstp st(2)
jbe 0x4244a2
fdiv st(1)
fnstcw word [esp + 0x8e]
movzx eax, word [esp + 0x8e]
mov ah, 0xc
mov word [esp + 0x8c], ax
fldcw word [esp + 0x8c]
fistp qword [esp + 0x80]
fldcw word [esp + 0x8e]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov edi, dword [esi + 0x4d0]
mov ebp, dword [esi + 0x4d4]
mov dword [esi + 0x4f8], eax
mov dword [esi + 0x4fc], edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x58], eax
fild qword [esp + 0x80]
mov dword [esp + 0x5c], edx
fld st(1)
fdivp st(1)
fldcw word [esp + 0x8c]
fistp qword [esp + 0x80]
fldcw word [esp + 0x8e]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], edx
mov dword [esi + 0x504], edx
xor edx, edx
cmp dword [esi + 0x4b0], ecx
mov dword [esp + 0x60], eax
mov dword [esi + 0x500], eax
je 0x424373
mov eax, ebx
mov edx, 0x2aaaaaab
imul edx
mov eax, ebx
sar eax, 0x1f
mov dword [esi + 0x4b0], ecx
sub edx, eax
lea eax, [edx + edx*2]
mov edx, edi
add eax, eax
sub ebx, eax
mov eax, ebp
cmp ebp, dword [esp + 0x4c]
lea ebx, [esi + ebx*8]
jle 0x424410
mov dword [ebx + 0x554], eax
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x550], edx
mov dword [ebx + 0x580], ecx
mov dword [ebx + 0x584], eax
mov eax, dword [esi + 0x5b0]
lea ebp, [eax + 1]
cmp ebp, 1
mov dword [esi + 0x5b0], ebp
je 0x424590
xor edi, edi
cmp ebp, 5
jle 0x4242b2
mov edi, 0x2aaaaaab
mov eax, ebp
imul edi
mov eax, ebp
sar eax, 0x1f
mov edi, edx
sub edi, eax
lea eax, [edi + edi*2]
mov edi, ebp
add eax, eax
sub edi, eax
mov eax, dword [esi + edi*8 + 0x580]
fstp qword [esp + 0x58]
mov edx, dword [esi + edi*8 + 0x584]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call fcn.00420e60
mov edx, 1
test eax, eax
mov ebp, eax
mov eax, dword [ebx + 0x550]
cmove ebp, edx
mov edx, dword [ebx + 0x554]
fld qword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [esi + edi*8 + 0x550]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + edi*8 + 0x554]
sub dword [esp + 0x48], eax
sbb dword [esp + 0x4c], edx
cmp dword [esp + 0x4c], 0
jl 0x424435
jle 0x424427
fild qword [esp + 0x48]
mov edx, 1
mov dword [esp + 0x88], ebp
fild dword [esp + 0x88]
fdiv dword [0x4680d8]
fnstcw word [esp + 0x8e]
movzx eax, word [esp + 0x8e]
mov ah, 0xc
mov word [esp + 0x8c], ax
fdivp st(1)
fldcw word [esp + 0x8c]
fistp qword [esi + 0x4d8]
fldcw word [esp + 0x8e]
mov edi, dword [esi + 0x4e8]
mov ebx, edi
and ebx, 0x10
jne 0x424491
mov ecx, dword [esi + 0x1d4]
test ecx, ecx
je 0x424520
fstp st(0)
mov eax, dword [esi + 0x4d0]
mov edx, dword [esi + 0x4d4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x4c0]
mov edx, dword [esi + 0x4c4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x4c8]
mov edx, dword [esi + 0x4cc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x4b8]
mov edx, dword [esi + 0x4bc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x208]
mov dword [esp], eax
call ecx
test eax, eax
mov edi, eax
je 0x424402
jmp 0x42456d
fstp st(0)
add esp, 0xfc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
jge 0x4245c6
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov edx, edi
mov eax, ebp
jmp 0x42425c
cmp dword [esp + 0x48], 0x418937
ja 0x424327
mov ecx, 0x3e8
mov eax, ecx
mul dword [esp + 0x48]
imul ebx, dword [esp + 0x4c], 0x3e8
mov dword [esp + 8], ebp
sar ebp, 0x1f
mov dword [esp + 0xc], ebp
fstp qword [esp + 0x50]
mov ecx, edx
add ecx, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0044bd00
mov edi, dword [esi + 0x4e8]
mov ebx, edi
and ebx, 0x10
mov dword [esi + 0x4dc], edx
fld qword [esp + 0x50]
mov edx, 1
mov dword [esi + 0x4d8], eax
je 0x424384
fstp st(0)
jmp 0x424493
fstp st(0)
add esp, 0xfc
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
fnstcw word [esp + 0x8e]
movzx eax, word [esp + 0x8e]
mov ah, 0xc
mov word [esp + 0x8c], ax
fldcw word [esp + 0x8c]
fistp qword [esp + 0x80]
fldcw word [esp + 0x8e]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov edi, dword [esi + 0x4d0]
mov ebp, dword [esi + 0x4d4]
mov dword [esi + 0x4f8], eax
mov dword [esi + 0x4fc], edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x58], eax
fild qword [esp + 0x80]
mov dword [esp + 0x5c], edx
ja 0x4241e5
fld1
jmp 0x4241e7
mov eax, dword [esi + 0x1d0]
test eax, eax
je 0x4245e3
fstp st(0)
fild qword [esi + 0x4d0]
fstp qword [esp + 0x1c]
fild qword [esi + 0x4c0]
fstp qword [esp + 0x14]
fild qword [esi + 0x4c8]
fstp qword [esp + 0xc]
fild qword [esi + 0x4b8]
fstp qword [esp + 4]
mov edx, dword [esi + 0x208]
mov dword [esp], edx
call eax
test eax, eax
mov edi, eax
je 0x424402
mov dword [esp], esi
mov ebx, edi
mov dword [esp + 4], str.Callback_aborted
call fcn.00416580
add esp, 0xfc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp ebx, dword [esp + 0x5c]
mov eax, ebx
mov edx, ecx
jg 0x4245b0
jl 0x4245d5
cmp ecx, dword [esp + 0x58]
jb 0x4245d5
lea esi, [esi]
mov dword [esi + 0x4d8], edx
mov edx, 1
mov dword [esi + 0x4dc], eax
jmp 0x424373
cmp edi, dword [esp + 0x48]
jae 0x42425c
jmp 0x424416
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, ecx
mov eax, ebx
jmp 0x4245b0
test edx, edx
je 0x424400
test edi, 0x80
jne 0x424639
mov eax, dword [esi + 0x86e4]
mov edx, dword [esi + 0x86e0]
mov ecx, eax
or ecx, edx
jne 0x424b42
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 [esi + 0x160]
fstp qword [esp + 0x48]
mov dword [esp], eax
call sym.curl.exe_curl_mfprintf
mov edi, dword [esi + 0x4e8]
or edi, 0x80
mov dword [esi + 0x4e8], edi
fld qword [esp + 0x48]
test edi, 0x20
je 0x424a76
mov eax, dword [esi + 0x504]
mov edx, dword [esi + 0x500]
cmp eax, 0
jl 0x424a76
jle 0x424a6d
mov ecx, dword [esi + 0x4c0]
fstp qword [esp + 0x58]
mov ebp, dword [esi + 0x4c4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 0x48], ecx
call fcn.0044bd00
cmp ebp, 0
mov dword [esp + 0x60], eax
fld qword [esp + 0x58]
mov dword [esp + 0x50], edx
jl 0x424c74
jle 0x424bed
mov eax, dword [esp + 0x48]
fstp qword [esp + 0x58]
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.0044bd00
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esi + 0x4d0]
mov edx, dword [esi + 0x4d4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0044bd00
mov dword [esp + 0x70], eax
fld qword [esp + 0x58]
mov dword [esp + 0x74], edx
and edi, 0x40
je 0x424a48
mov eax, dword [esi + 0x4fc]
mov edx, dword [esi + 0x4f8]
cmp eax, 0
jl 0x424a48
jle 0x424a3f
mov edi, dword [esi + 0x4bc]
fstp qword [esp + 0x48]
mov ebp, dword [esi + 0x4b8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.0044bd00
cmp edi, 0
mov dword [esp + 0x58], eax
fld qword [esp + 0x48]
mov dword [esp + 0x5c], edx
jl 0x424c58
jle 0x424b89
mov dword [esp + 8], 0x64
fstp qword [esp + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp], ebp
mov dword [esp + 4], edi
call fcn.0044bd00
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esi + 0x4c8]
mov edx, dword [esi + 0x4cc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0044bd00
mov dword [esp + 0x68], eax
fld qword [esp + 0x48]
mov dword [esp + 0x6c], edx
fnstcw word [esp + 0x8e]
mov ebp, dword [esp + 0x5c]
cmp ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
movzx eax, word [esp + 0x8e]
mov ah, 0xc
mov word [esp + 0x8c], ax
fldcw word [esp + 0x8c]
fistp qword [esp + 0x48]
fldcw word [esp + 0x8e]
jg 0x4247eb
jl 0x4247e3
cmp edi, dword [esp + 0x60]
jae 0x4247eb
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x50]
cmp ebp, 0
jl 0x424ae3
jle 0x424ada
mov edx, edi
mov ecx, ebp
sub edx, dword [esp + 0x48]
sbb ecx, dword [esp + 0x4c]
lea eax, [esp + 0x96]
call fcn.00423a10
mov edx, edi
mov ecx, ebp
lea eax, [esp + 0xa0]
call fcn.00423a10
mov edx, dword [esp + 0x48]
lea eax, [esp + 0xaa]
mov ecx, dword [esp + 0x4c]
call fcn.00423a10
mov eax, dword [esi + 0x4e8]
test al, 0x20
je 0x424ac1
mov edx, dword [esi + 0x4d0]
mov ecx, dword [esi + 0x4d4]
mov edi, dword [esi + 0x4c0]
mov ebp, dword [esi + 0x4c4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
test al, 0x40
je 0x424aa0
mov eax, dword [esi + 0x4b8]
mov edx, dword [esi + 0x4bc]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x4c8]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x4cc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
add edi, dword [esp + 0x48]
adc ebp, dword [esp + 0x4c]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x50]
mov edx, ebp
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x54]
add edi, dword [esp + 0x58]
adc ebp, dword [esp + 0x5c]
cmp edx, 0
jl 0x424b74
jle 0x424aec
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0044bd00
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0044bd00
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x4dc]
lea ecx, [esp + 0xe6]
mov eax, dword [esi + 0x4d8]
call fcn.00423bd0
mov edx, dword [esi + 0x504]
lea ecx, [esp + 0xdc]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x500]
call fcn.00423bd0
mov edx, dword [esi + 0x4fc]
lea ecx, [esp + 0xd2]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x4f8]
call fcn.00423bd0
mov edx, dword [esi + 0x4d4]
lea ecx, [esp + 0xbe]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x4d0]
call fcn.00423bd0
mov edx, dword [esi + 0x4cc]
lea ecx, [esp + 0xb4]
mov ebp, eax
mov eax, dword [esi + 0x4c8]
call fcn.00423bd0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc8]
mov edi, eax
mov eax, dword [esp + 0x48]
call fcn.00423bd0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x96]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0xaa]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], str._r_3lld__s___3lld__s___3lld__s___s___s__s__s__s__s
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 0x160]
mov dword [esp], eax
call sym.curl.exe_curl_mfprintf
mov eax, dword [esi + 0x160]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
jmp 0x424402
cmp edx, 0
ja 0x424717
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
jmp 0x4247a2
cmp edx, 0
ja 0x424660
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
jmp 0x4246f3
mov eax, dword [esi + 0x4c8]
mov edx, dword [esi + 0x4cc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
jmp 0x424894
mov edi, dword [esi + 0x4d0]
mov ebp, dword [esi + 0x4d4]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebp
jmp 0x424864
cmp edi, 0
ja 0x4247fa
xor edx, edx
xor ecx, ecx
jmp 0x424806
cmp dword [esp + 0x48], 0x2710
ja 0x4248c5
cmp dword [esp + 0x4c], 0
jl 0x424b74
jle 0x424b6d
imul eax, ebp, 0x64
mov ecx, 0x64
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov eax, ecx
mul edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0xc], ebp
mov ecx, edx
add ecx, dword [esp + 0x50]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0044bd00
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
jmp 0x424905
mov dword [esp + 8], edx
fstp qword [esp + 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._Resuming_transfer_from_byte_position__lld_n
mov eax, dword [esi + 0x160]
mov dword [esp], eax
call sym.curl.exe_curl_mfprintf
fld qword [esp + 0x48]
jmp 0x424609
cmp dword [esp + 0x48], 0
ja 0x424b03
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
jmp 0x424905
cmp ebp, 0x2710
ja 0x424756
cmp edi, 0
jl 0x424c58
nop
jle 0x424c4f
imul eax, dword [esi + 0x4cc], 0x64
mov ecx, 0x64
fstp qword [esp + 0x78]
mov dword [esp + 0x48], eax
mov eax, ecx
mul dword [esi + 0x4c8]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov ecx, edx
add ecx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0044bd00
mov dword [esp + 0x68], eax
fld qword [esp + 0x78]
mov dword [esp + 0x6c], edx
jmp 0x4247a2
cmp dword [esp + 0x48], 0x2710
ja 0x4246a3
cmp ebp, 0
jl 0x424c74
jle 0x424c6d
imul eax, dword [esi + 0x4d4], 0x64
mov ecx, 0x64
fstp qword [esp + 0x68]
mov dword [esp + 0x58], eax
mov eax, ecx
mul dword [esi + 0x4d0]
mov dword [esp + 0xc], ebp
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0x48]
add ecx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.0044bd00
mov dword [esp + 0x70], eax
fld qword [esp + 0x68]
mov dword [esp + 0x74], edx
jmp 0x4246f3
cmp ebp, 0
ja 0x424ba6
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
jmp 0x4247a2
cmp dword [esp + 0x48], 0
ja 0x424c02
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
jmp 0x4246f3