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

Disassembly:
push 0xffffffffffffffff
push 0x5e0da8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, edx
push 0x10078
mov edi, ecx
mov dword [esp + 0x1c], ebx
call fcn.0059b847
xor esi, esi
add esp, 4
cmp eax, esi
je 0x42c8c6
call fcn.00464710
mov ebp, eax
jmp 0x42c8c8
xor ebp, ebp
mov eax, dword [ebp]
mov edx, dword [eax + 4]
push edi
mov ecx, ebp
call edx
test al, al
jne 0x42c8e9
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
call edx
xor al, al
jmp 0x42cc17
push 4
mov dword [esp + 0x38], esi
mov word [esp + 0x28], si
mov edi, 7
push str.FILE
lea esi, [esp + 0x28]
mov dword [esp + 0x40], edi
call fcn.00402770
mov dword [esp + 0x80], 0
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, esi
push ecx
mov ecx, ebp
call edx
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x38], 8
mov esi, eax
jb 0x42c944
mov eax, dword [esp + 0x24]
push eax
call fcn.0059b877
add esp, 4
xor eax, eax
cmp esi, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
jne 0x42c969
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
xor al, al
jmp 0x42cc17
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], eax
mov word [esp + 0x40], ax
mov dword [esp + 0x80], 1
mov edx, dword [ebp]
mov eax, dword [edx + 0x20]
push esi
mov ecx, ebp
call eax
test eax, eax
mov dword [esp + 0x1c], eax
je 0x42cbd8
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp]
mov edx, dword [edx + 0x10]
push esi
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0x80], 2
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x3c]
push ecx
push esi
mov ecx, ebp
call edx
test al, al
je 0x42cb9f
mov eax, dword [esp + 0x6c]
push str.DownloadUrl
mov edi, 0xb
lea ecx, [esp + 0x5c]
call fcn.00402d90
test eax, eax
jne 0x42c9fb
push 0xffffffffffffffff
push eax
lea ecx, [ebx + 4]
lea eax, [esp + 0x44]
call fcn.00402580
jmp 0x42cb9f
mov eax, dword [esp + 0x6c]
push str.SpareUrl
mov edi, 8
lea ecx, [esp + 0x5c]
call fcn.00402d90
test eax, eax
jne 0x42ca2a
push 0xffffffffffffffff
push eax
lea ecx, [ebx + 0x20]
lea eax, [esp + 0x44]
call fcn.00402580
jmp 0x42cb9f
mov eax, dword [esp + 0x6c]
push 0x60a73c
mov edi, 3
lea ecx, [esp + 0x5c]
call fcn.00402d90
test eax, eax
jne 0x42ca59
push 0xffffffffffffffff
push eax
lea ecx, [ebx + 0x3c]
lea eax, [esp + 0x44]
call fcn.00402580
jmp 0x42cb9f
mov eax, dword [esp + 0x6c]
push str.FileSize
mov edi, 8
lea ecx, [esp + 0x5c]
call fcn.00402d90
test eax, eax
jne 0x42ca88
push 0xffffffffffffffff
push eax
lea ecx, [ebx + 0x58]
lea eax, [esp + 0x44]
call fcn.00402580
jmp 0x42cb9f
mov eax, dword [esp + 0x6c]
push str.FileName
lea ecx, [esp + 0x5c]
call fcn.00402d90
test eax, eax
jne 0x42cab2
push 0xffffffffffffffff
push eax
lea ecx, [ebx + 0x74]
lea eax, [esp + 0x44]
call fcn.00402580
jmp 0x42cb9f
mov esi, str.DownloadType
lea ecx, [esp + 0x58]
call fcn.00402d60
test eax, eax
jne 0x42cae4
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x42cad2
lea eax, [esp + 0x40]
xor ebx, ebx
call fcn.0042b0a0
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x42cb9d
mov esi, str.TorrentUrl
lea ecx, [esp + 0x58]
call fcn.00402d60
test eax, eax
jne 0x42cb0d
push 0xffffffffffffffff
push eax
lea ecx, [ebx + 0x94]
lea eax, [esp + 0x44]
call fcn.00402580
jmp 0x42cb9f
mov esi, str.UpdateType
lea ecx, [esp + 0x58]
call fcn.00402d60
test eax, eax
jne 0x42cb5d
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x42cb2d
lea eax, [esp + 0x40]
xor ebx, ebx
call fcn.0042b0a0
cmp eax, 1
jne 0x42cb4d
test edx, edx
jne 0x42cb4d
mov edx, dword [esp + 0x18]
mov al, al
mov byte [edx + 0x90], al
mov ebx, edx
jmp 0x42cb9f
mov edx, dword [esp + 0x18]
xor al, al
mov byte [edx + 0x90], al
mov ebx, edx
jmp 0x42cb9f
mov esi, str.InvalidVersion
lea ecx, [esp + 0x58]
call fcn.00402d60
test eax, eax
jne 0x42cb9f
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x42cb7d
lea eax, [esp + 0x40]
xor ebx, ebx
call fcn.0042b0a0
cmp eax, 1
jne 0x42cb91
test edx, edx
jne 0x42cb91
mov al, al
jmp 0x42cb93
xor al, al
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x91], al
mov ebx, ecx
mov edx, dword [ebp]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x28]
push eax
mov ecx, ebp
call edx
mov esi, eax
mov byte [esp + 0x80], 1
cmp dword [esp + 0x70], 8
mov dword [esp + 0x1c], esi
jb 0x42cbd0
mov eax, dword [esp + 0x5c]
push eax
call fcn.0059b877
add esp, 4
test esi, esi
jne 0x42c998
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
cmp dword [ebx + 0x18], 0
jne 0x42cc01
cmp dword [esp + 0x54], 8
jb 0x42cbfd
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0059b877
add esp, 4
xor al, al
jmp 0x42cc17
cmp dword [esp + 0x54], 8
jb 0x42cc15
mov edx, dword [esp + 0x40]
push edx
call fcn.0059b877
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005b88a9
add esp, 0x70
ret