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

Disassembly:
push 0xffffffffffffffff
push 0x4ccbac
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
push 0x38
call fcn.004a84f2
add esp, 4
mov dword [esp + 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0xb8], esi
je 0x41d352
push eax
call fcn.0042a260
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x41d358
mov dword [esp + 0x14], esi
mov edi, esi
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax + 8]
push ebp
mov ecx, edi
call edx
test al, al
jne 0x41d382
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
xor al, al
jmp 0x41d8ad
push 4
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
mov ebp, 7
push str.FILE
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
call fcn.00405810
mov dword [esp + 0xb8], 1
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, esi
push ecx
mov ecx, edi
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 8
mov edi, eax
jb 0x41d3dc
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
xor eax, eax
cmp edi, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
jne 0x41d402
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
xor al, al
jmp 0x41d8ad
lea esi, [ebx + 0x3c]
call fcn.0040b860
xor esi, esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], esi
mov word [esp + 0x78], si
mov dword [esp + 0xb8], 2
mov ebp, dword [esp + 0x14]
mov edx, dword [ebp]
mov eax, dword [edx + 0x24]
push edi
mov ecx, ebp
call eax
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x41d4ef
mov esi, dword [esp + 0x14]
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0xb8], 3
mov eax, dword [ebp]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x74]
push ecx
push esi
mov ecx, ebp
call edx
test al, al
je 0x41d4ac
mov eax, dword [esp + 0xa4]
push 0xb
push 0x4d9bec
push 0
lea ecx, [esp + 0x9c]
call fcn.00406120
test eax, eax
jne 0x41d522
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [ebx + 4]
call fcn.00405240
mov edi, 8
mov edx, dword [ebp]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x30]
push eax
mov ecx, ebp
call edx
mov esi, eax
mov byte [esp + 0xb8], 2
cmp dword [esp + 0xa8], edi
mov dword [esp + 0x14], esi
jb 0x41d4e7
mov eax, dword [esp + 0x94]
push eax
call fcn.004a85e6
add esp, 4
test esi, esi
jne 0x41d445
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
cmp dword [ebx + 0x18], 0
jne 0x41d894
cmp dword [esp + 0x8c], 8
jb 0x41d51b
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004a85e6
add esp, 4
xor al, al
jmp 0x41d8ad
mov eax, dword [esp + 0xa4]
mov edi, 8
push edi
push str.SpareUrl
push 0
lea ecx, [esp + 0x9c]
call fcn.00406120
test eax, eax
jne 0x41d56d
cmp dword [ebx + 0x34], eax
je 0x41d55b
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x7c]
push ecx
lea eax, [ebx + 0x20]
call fcn.00405240
lea edx, [esp + 0x74]
push edx
lea esi, [ebx + 0x3c]
call fcn.00408080
jmp 0x41d4b1
mov eax, dword [esp + 0xa4]
push 3
push 0x4d9c18
push 0
lea ecx, [esp + 0x9c]
call fcn.00406120
test eax, eax
jne 0x41d5a2
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [ebx + 0x4c]
call fcn.00405240
jmp 0x41d4b1
mov eax, dword [esp + 0xa4]
push edi
push str.FileSize
push 0
lea ecx, [esp + 0x9c]
call fcn.00406120
test eax, eax
jne 0x41d5d6
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x7c]
push ecx
lea eax, [ebx + 0x68]
call fcn.00405240
jmp 0x41d4b1
mov eax, dword [esp + 0xa4]
push edi
push str.FileName
push 0
lea ecx, [esp + 0x9c]
call fcn.00406120
test eax, eax
jne 0x41d60d
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x7c]
push edx
lea eax, [ebx + 0x84]
call fcn.00405240
jmp 0x41d4b1
mov esi, str.DownloadType
lea ecx, [esp + 0x90]
call fcn.004060f0
test eax, eax
jne 0x41d63f
cmp dword [esp + 0x8c], edi
mov eax, dword [esp + 0x78]
jae 0x41d633
lea eax, [esp + 0x78]
call fcn.00419dd0
mov dword [ebx], eax
jmp 0x41d4b1
mov esi, str.TorrentUrl
lea ecx, [esp + 0x90]
call fcn.004060f0
test eax, eax
jne 0x41d66c
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [ebx + 0xa4]
call fcn.00405240
jmp 0x41d4b1
mov esi, str.UpdateType
lea ecx, [esp + 0x90]
call fcn.004060f0
test eax, eax
jne 0x41d6ba
cmp dword [esp + 0x8c], edi
mov eax, dword [esp + 0x78]
jae 0x41d692
lea eax, [esp + 0x78]
call fcn.00419dd0
cmp eax, 1
jne 0x41d6ad
test edx, edx
jne 0x41d6ad
mov al, al
mov byte [ebx + 0xa0], al
jmp 0x41d4b1
xor al, al
mov byte [ebx + 0xa0], al
jmp 0x41d4b1
mov esi, str.InvalidVersion
lea ecx, [esp + 0x90]
call fcn.004060f0
test eax, eax
jne 0x41d708
cmp dword [esp + 0x8c], edi
mov eax, dword [esp + 0x78]
jae 0x41d6e0
lea eax, [esp + 0x78]
call fcn.00419dd0
cmp eax, 1
jne 0x41d6fb
test edx, edx
jne 0x41d6fb
mov al, al
mov byte [ebx + 0xa1], al
jmp 0x41d4b1
xor al, al
mov byte [ebx + 0xa1], al
jmp 0x41d4b1
mov esi, str.ControlFlag
lea ecx, [esp + 0x90]
call fcn.004060f0
test eax, eax
jne 0x41d744
cmp dword [esp + 0x8c], edi
mov eax, dword [esp + 0x78]
jae 0x41d72e
lea eax, [esp + 0x78]
call fcn.00419dd0
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], edx
jmp 0x41d4b1
mov esi, str.Name
lea ecx, [esp + 0x90]
call fcn.004060f0
test eax, eax
jne 0x41d771
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x7c]
push ecx
lea eax, [ebx + 0xe4]
call fcn.00405240
jmp 0x41d4b1
mov esi, str.IconUrl
lea ecx, [esp + 0x90]
call fcn.004060f0
test eax, eax
jne 0x41d79e
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x7c]
push edx
lea eax, [ebx + 0xc8]
call fcn.00405240
jmp 0x41d4b1
mov esi, str.realUrl
lea ecx, [esp + 0x90]
call fcn.004060f0
test eax, eax
jne 0x41d7ec
cmp dword [esp + 0x8c], edi
mov eax, dword [esp + 0x78]
jae 0x41d7c4
lea eax, [esp + 0x78]
call fcn.00419dd0
cmp eax, 1
jne 0x41d7df
test edx, edx
jne 0x41d7df
mov al, al
mov byte [ebx + 0x100], al
jmp 0x41d4b1
xor al, al
mov byte [ebx + 0x100], al
jmp 0x41d4b1
mov esi, str.InstallType
lea ecx, [esp + 0x90]
call fcn.004060f0
test eax, eax
jne 0x41d822
cmp dword [esp + 0x8c], edi
mov eax, dword [esp + 0x78]
jae 0x41d812
lea eax, [esp + 0x78]
call fcn.00419dd0
mov dword [ebx + 0x104], eax
jmp 0x41d4b1
sub esp, 0x1c
lea eax, [esp + 0x90]
mov esi, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00404ff0
sub esp, 0x1c
lea ecx, [esp + 0xc8]
mov esi, esp
mov dword [esp + 0x6c], esp
push ecx
mov byte [esp + 0xf4], 4
call fcn.00404ff0
lea esi, [esp + 0x74]
mov byte [esp + 0xf0], 3
call fcn.0041edf0
add esp, 0x38
push eax
lea esi, [ebx + 0x108]
mov byte [esp + 0xbc], 5
call fcn.0041e900
lea esi, [esp + 0x3c]
mov byte [esp + 0xb8], 3
call fcn.00426820
jmp 0x41d4b1
cmp dword [esp + 0x8c], 8
jb 0x41d8ab
mov edx, dword [esp + 0x78]
push edx
call fcn.004a85e6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004a85d7
add esp, 0xa8
ret