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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449e86
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x45b1d4]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
push edi
mov eax, dword [0x45b1d4]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
cmp byte [ebx + 0x1c], 0
jne 0x41ec17
push str.Job_running...
lea ecx, [esp + 0x48]
call fcn.00402e51
push 0xffffffffffffffff
push 2
xor edi, edi
pop ecx
lea eax, [esp + 0x48]
mov edx, ebx
mov dword [esp + 0x16c], edi
call fcn.0041ec8f
push edi
push 1
lea ecx, [esp + 0x4c]
call fcn.00402b4a
lea esi, [esp + 0x84]
call fcn.00421711
xor esi, esi
inc esi
mov dword [esp + 0x168], esi
cmp dword [ebx + 0x100], edi
je 0x41e035
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0xec]
push eax
lea ecx, [esp + 0x11c]
call fcn.00402bb1
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov byte [esp + 0x168], 2
jmp 0x41e47f
push str.Analysis_URL...
lea ecx, [esp + 0x20]
call fcn.00402e51
push 0xffffffffffffffff
push 2
pop ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 3
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
sub esp, 0x1c
lea eax, [ebx + 0x21c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00402b24
lea ecx, [esp + 0xa0]
call fcn.00421758
test al, al
je 0x41e48e
push str.URL_OK.
lea ecx, [esp + 0x20]
call fcn.00402e51
push 0xffffffffffffffff
push 2
pop ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 6
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x88]
call fcn.0042194b
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebx + 0x5c]
mov byte [esp + 0x174], 7
call fcn.00402bb1
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
mov eax, dword [esp + 0x148]
mov dword [ebx + 0x78], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00421916
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebx + 0x7c]
mov byte [esp + 0x174], 8
call fcn.00402bb1
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x88]
call fcn.00421930
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebx + 0x98]
mov byte [esp + 0x174], 9
call fcn.00402bb1
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x88]
call fcn.004219ec
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebx + 0xb4]
mov byte [esp + 0x174], 0xa
call fcn.00402bb1
push edi
mov byte [esp + 0x16c], 2
push esi
lea ecx, [esp + 0x24]
call fcn.00402b4a
cmp dword [esp + 0x150], esi
lea ecx, [esp + 0x1c]
je 0x41e4e0
cmp dword [esp + 0x150], 2
jne 0x41eba1
push str.Main_URL_is_http_type.
call fcn.00402e51
push 0xffffffffffffffff
push 2
pop ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0x14
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
push 0x170
call fcn.0042dbee
pop ecx
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x168], 0x15
je 0x41e29d
push 0xffffffffffffffff
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push eax
lea eax, [esp + 0xa8]
call fcn.00421966
mov byte [esp + 0x188], 0x16
push dword [ebx + 0x34]
lea eax, [ebx + 0x21c]
push dword [ebx + 0x30]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00402b24
mov edi, dword [esp + 0x50]
push ebx
mov byte [esp + 0x1b0], 0x15
call fcn.00427869
xor esi, esi
xor edi, edi
inc esi
jmp 0x41e29f
xor eax, eax
mov byte [esp + 0x168], 2
cmp byte [ebx + 0x108], 0
mov dword [ebx + 0x20c], eax
je 0x41e364
push str.Task_will_use_socks_proxy.
lea ecx, [esp + 0x20]
call fcn.00402e51
push 0xffffffffffffffff
push 2
pop ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0x17
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
push dword [ebx + 0x164]
lea eax, [ebx + 0x148]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00402b24
sub esp, 0x1c
mov byte [esp + 0x1a4], 0x18
lea eax, [ebx + 0x12c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00402b24
mov byte [esp + 0x1a4], 0x19
push dword [ebx + 0x128]
lea eax, [ebx + 0x10c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call fcn.00402b24
mov byte [esp + 0x1c4], 2
mov esi, dword [ebx + 0x20c]
call fcn.0041f96e
xor esi, esi
inc esi
cmp byte [ebx + 0x168], 0
je 0x41e3cf
push str.Task_will_use_http_proxy.
lea ecx, [esp + 0x20]
call fcn.00402e51
push 0xffffffffffffffff
push 2
pop ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0x1a
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
push dword [ebx + 0x188]
lea eax, [ebx + 0x16c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00402b24
mov esi, dword [ebx + 0x20c]
call fcn.00428dcc
xor esi, esi
inc esi
mov ecx, dword [ebx + 0x20c]
lea eax, [ebx + 0x1c]
push eax
call fcn.00427a61
test al, al
je 0x41e89c
mov ecx, dword [ebx + 0x20c]
call fcn.0041d9dd
test al, al
je 0x41e8ee
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x21c]
push eax
lea ecx, [esp + 0x11c]
call fcn.00402bb1
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x20c]
call fcn.0041da00
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebx + 0x21c]
mov byte [esp + 0x174], 0x1c
call fcn.00402bb1
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
mov ecx, dword [ebx + 0x20c]
cmp ecx, edi
je 0x41e458
mov eax, dword [ecx]
push esi
call dword [eax]
sub esp, 0x1c
lea eax, [ebx + 0x21c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [ebx + 0x20c], edi
call fcn.00402b24
lea ecx, [esp + 0xa0]
call fcn.00421758
cmp byte [ebx + 0x1c], 0
je 0x41e04e
jmp 0x41ec02
push str.Not_a_support_URL_type.
lea ecx, [esp + 0x6c]
call fcn.00402e51
lea ecx, [ebx + 0x21c]
push ecx
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x174], 4
call fcn.0041f5ed
add esp, 0xc
push 0xffffffffffffffff
xor ecx, ecx
mov edx, ebx
mov byte [esp + 0x16c], 5
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.00402b4a
lea ecx, [esp + 0x68]
jmp 0x41ebea
push str.Main_URL_is_ftp_type.
call fcn.00402e51
push 0xffffffffffffffff
push 2
pop ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0xb
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
push 0x158
call fcn.0042dbee
pop ecx
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x168], 0xc
je 0x41e55e
push 0xffffffffffffffff
push dword [ebx + 0x34]
lea eax, [ebx + 0x21c]
push dword [ebx + 0x30]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402b24
mov edi, dword [esp + 0x34]
push ebx
call fcn.00420fb9
xor esi, esi
xor edi, edi
inc esi
jmp 0x41e560
xor eax, eax
mov byte [esp + 0x168], 2
cmp byte [ebx + 0x108], 0
mov dword [ebx + 0x208], eax
je 0x41e625
push str.Task_will_use_socks_proxy.
lea ecx, [esp + 0x20]
call fcn.00402e51
push 0xffffffffffffffff
push 2
pop ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0xd
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
push dword [ebx + 0x164]
lea eax, [ebx + 0x148]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00402b24
sub esp, 0x1c
mov byte [esp + 0x1a4], 0xe
lea eax, [ebx + 0x12c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00402b24
mov byte [esp + 0x1a4], 0xf
push dword [ebx + 0x128]
lea eax, [ebx + 0x10c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call fcn.00402b24
mov byte [esp + 0x1c4], 2
mov esi, dword [ebx + 0x208]
call fcn.0041f96e
xor esi, esi
inc esi
cmp byte [ebx + 0x18c], 0
je 0x41e68d
push str.Task_will_use_ftp_proxy.
lea ecx, [esp + 0x20]
call fcn.00402e51
push 0xffffffffffffffff
push 2
pop ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0x10
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
push dword [ebx + 0x1ac]
lea eax, [ebx + 0x190]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00402b24
mov esi, dword [ebx + 0x208]
call fcn.0041ffe8
mov edi, dword [ebx + 0x208]
lea eax, [ebx + 0x1c]
push eax
call fcn.00421169
test al, al
jne 0x41e6f6
push str.Get_file_info_error.
lea ecx, [esp + 0x20]
call fcn.00402e51
push 0xffffffffffffffff
xor ecx, ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0x11
call fcn.0041ec8f
push 0
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
mov ecx, dword [ebx + 0x208]
test ecx, ecx
je 0x41e6ea
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebx + 0x208], 0
jmp 0x41ebf9
mov ecx, dword [ebx + 0x208]
test ecx, ecx
mov eax, dword [ecx + 0x140]
mov edx, dword [ecx + 0x144]
mov dword [ebx + 0x258], eax
mov dword [ebx + 0x25c], edx
mov al, byte [ecx + 0x138]
mov byte [esp + 0x13], al
je 0x41e728
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 0x258]
mov esi, dword [ebx + 0x25c]
and dword [ebx + 0x208], 0
mov ecx, eax
and ecx, esi
or edi, 0xffffffff
cmp ecx, edi
je 0x41e751
cmp byte [esp + 0x13], 0
jne 0x41e7d9
and eax, esi
cmp eax, edi
jne 0x41e794
push str.No_file_length_got.
lea ecx, [esp + 0x20]
call fcn.00402e51
xor esi, esi
inc esi
push edi
mov ecx, esi
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0x12
call fcn.0041ec8f
push 0
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
jmp 0x41e797
xor esi, esi
inc esi
cmp byte [esp + 0x13], 0
jne 0x41e7d6
push str.Server_cannot_support_resume_method.
lea ecx, [esp + 0x20]
call fcn.00402e51
push edi
mov ecx, esi
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0x13
call fcn.0041ec8f
push 0
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
mov dword [ebx + 0x28], esi
xor edi, edi
cmp byte [ebx + 0x1c], 0
jne 0x41ec02
push 0x160
call fcn.0042dbee
pop ecx
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x168], 0x20
je 0x41e970
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
push eax
lea eax, [esp + 0xa4]
call fcn.00421966
mov byte [esp + 0x184], 0x21
push dword [ebx + 0x25c]
lea eax, [ebx + 0x40]
push dword [ebx + 0x258]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00402b24
sub esp, 0x1c
mov byte [esp + 0x1c4], 0x22
lea eax, [ebx + 0x238]
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
call fcn.00402b24
sub esp, 0x1c
mov byte [esp + 0x1e0], 0x23
lea eax, [ebx + 0x21c]
mov ecx, esp
mov dword [esp + 0xd8], esp
push eax
call fcn.00402b24
mov edi, dword [esp + 0x84]
push ebx
mov byte [esp + 0x1e4], 0x20
call fcn.00422a4d
xor edi, edi
jmp 0x41e972
push str.Get_file_info_error.
lea ecx, [esp + 0x20]
call fcn.00402e51
push 0xffffffffffffffff
xor ecx, ecx
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0x1b
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
mov ecx, dword [ebx + 0x20c]
cmp ecx, edi
je 0x41e8e3
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [ebx + 0x20c], edi
jmp 0x41ebf9
mov ecx, dword [ebx + 0x20c]
cmp ecx, edi
mov eax, dword [ecx + 0x130]
mov edx, dword [ecx + 0x134]
mov dword [ebx + 0x258], eax
mov dword [ebx + 0x25c], edx
je 0x41e915
mov eax, dword [ecx]
push esi
call dword [eax]
mov eax, dword [ebx + 0x258]
and eax, dword [ebx + 0x25c]
mov dword [ebx + 0x20c], edi
cmp eax, 0xffffffff
jne 0x41e7db
push str.No_file_length_got.
lea ecx, [esp + 0x20]
call fcn.00402e51
push 0xffffffffffffffff
mov ecx, esi
lea eax, [esp + 0x20]
mov edx, ebx
mov byte [esp + 0x16c], 0x1d
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00402b4a
mov dword [ebx + 0x28], esi
jmp 0x41e7db
xor eax, eax
mov byte [esp + 0x168], 2
mov esi, eax
mov dword [ebx + 0x24], eax
call fcn.00422c8d
test al, al
jne 0x41e99d
mov ecx, dword [ebx + 0x24]
cmp ecx, edi
je 0x41e995
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x24], edi
jmp 0x41ebf9
lea esi, [ebx + 0x260]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0xc], eax
jbe 0x41e9b8
call fcn.0042eebc
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
lea esi, [ebx + 0x260]
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0xc], eax
jbe 0x41e9d7
call fcn.0042eebc
cmp dword [esp + 0x38], edi
je 0x41e9e3
cmp dword [esp + 0x38], esi
je 0x41e9e8
call fcn.0042eebc
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x3c], eax
je 0x41ea2c
cmp dword [esp + 0x38], edi
jne 0x41e9fd
call fcn.0042eebc
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp eax, dword [ecx + 8]
jb 0x41ea0f
call fcn.0042eebc
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x24]
call fcn.00424f36
lea edi, [esp + 0x60]
lea esi, [esp + 0x38]
call fcn.0041c212
xor edi, edi
jmp 0x41e9c0
lea eax, [ebx + 0x1b0]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x28], edi
mov dword [esp + 0xc], edi
jle 0x41eb88
lea eax, [ebx + 0x1e0]
mov dword [esp + 0x18], eax
push 0x160
call fcn.0042dbee
cmp eax, edi
pop ecx
je 0x41ea88
push dword [ebx + 0x34]
mov ecx, dword [esp + 0x10]
push dword [ebx + 0x30]
inc ecx
push dword [ebx + 0x25c]
mov esi, eax
push dword [ebx + 0x258]
push ecx
push dword [ebx + 0x24]
push ebx
call fcn.0042010f
jmp 0x41ea8a
xor eax, eax
mov esi, dword [esp + 0x18]
mov dword [esi], eax
cmp byte [ebx + 0x108], 0
je 0x41eb09
push dword [ebx + 0x164]
lea eax, [ebx + 0x148]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.00402b24
sub esp, 0x1c
mov byte [esp + 0x1a4], 0x24
lea eax, [ebx + 0x12c]
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.00402b24
mov byte [esp + 0x1a4], 0x25
push dword [ebx + 0x128]
lea eax, [ebx + 0x10c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call fcn.00402b24
mov byte [esp + 0x1c4], 2
mov esi, dword [esi]
call fcn.00420e9e
cmp byte [ebx + 0x18c], 0
je 0x41eb38
push dword [ebx + 0x1ac]
lea eax, [ebx + 0x190]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00402b24
mov eax, dword [esp + 0x38]
mov esi, dword [eax]
call fcn.00420f72
cmp byte [ebx + 0x168], 0
je 0x41eb67
push dword [ebx + 0x188]
lea eax, [ebx + 0x16c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00402b24
mov eax, dword [esp + 0x38]
mov esi, dword [eax]
call fcn.00420f2b
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
call fcn.0042028c
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add dword [esp + 0x18], 4
cmp eax, dword [ebx + 0x28]
jl 0x41ea54
mov eax, dword [ebx + 0x28]
push dword [esp + 0x14]
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x27c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41ec02
push str.Not_a_support_URL_type.
call fcn.00402e51
lea ecx, [ebx + 0x21c]
push ecx
push eax
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x174], 0x1e
call fcn.0041f5ed
add esp, 0xc
push 0xffffffffffffffff
xor ecx, ecx
mov edx, ebx
mov byte [esp + 0x16c], 0x1f
call fcn.0041ec8f
push edi
push esi
lea ecx, [esp + 0x70]
call fcn.00402b4a
lea ecx, [esp + 0x1c]
push edi
push esi
mov byte [esp + 0x170], 2
call fcn.00402b4a
push 3
mov ecx, ebx
call fcn.0041de60
lea esi, [esp + 0x44]
call fcn.0041a6c8
lea esi, [esp + 0x84]
call fcn.0041ec3a
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.0042d4ab
mov esp, ebp
pop ebp
ret