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

Disassembly:
push 0xffffffffffffffff
push 0x1009dcac
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
push 0x38
mov esi, ecx
call fcn.10079665
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0xb8], ebx
je 0x10005130
mov ecx, eax
call fcn.10013210
mov ebx, eax
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push esi
mov ecx, ebx
call edx
test al, al
jne 0x1000515a
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
xor al, al
jmp 0x10005686
xor eax, eax
push 4
mov ebp, 7
push 0x100a5f50
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
call fcn.10004560
mov dword [esp + 0xb8], 1
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x100051b8
mov eax, dword [esp + 0x1c]
push eax
call fcn.10079508
add esp, 4
xor eax, eax
cmp esi, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
jne 0x100051dc
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
xor al, al
jmp 0x10005686
lea eax, [edi + 0x3c]
call fcn.10006800
mov dword [esp + 0x8c], ebp
xor ebp, ebp
mov dword [esp + 0x88], ebp
mov word [esp + 0x78], bp
mov dword [esp + 0xb8], 2
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
push esi
mov ecx, ebx
call eax
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x10005643
mov esi, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0xb8], 3
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x74]
push ecx
push esi
mov ecx, ebx
call edx
test al, al
je 0x10005605
cmp dword [esp + 0x88], ebp
je 0x10005605
mov eax, dword [esp + 0xa4]
push 0xb
push str.DownloadUrl
push eax
push ebp
lea ecx, [esp + 0xa0]
call fcn.10003120
test eax, eax
jne 0x10005291
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [edi + 4]
call fcn.10002490
jmp 0x10005605
mov edx, dword [esp + 0xa4]
mov esi, 8
push esi
push str.SpareUrl
push edx
push ebp
lea ecx, [esp + 0xa0]
call fcn.10003120
test eax, eax
jne 0x100052dc
cmp dword [edi + 0x34], ebp
je 0x100052ca
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x7c]
push eax
lea ecx, [edi + 0x20]
call fcn.10002490
lea ecx, [esp + 0x74]
push ecx
lea ecx, [edi + 0x3c]
call fcn.10006750
jmp 0x10005605
mov edx, dword [esp + 0xa4]
push 3
push 0x100a5f88
push edx
push ebp
lea ecx, [esp + 0xa0]
call fcn.10003120
test eax, eax
jne 0x10005311
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x7c]
push eax
lea ecx, [edi + 0x4c]
call fcn.10002490
jmp 0x10005605
push str.FileSize
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x1000533b
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [edi + 0x68]
call fcn.10002490
jmp 0x10005605
push str.FileName
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x10005368
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x7c]
push edx
lea ecx, [edi + 0x84]
call fcn.10002490
jmp 0x10005605
push str.DownloadType
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x1000539f
cmp dword [esp + 0x8c], esi
mov eax, dword [esp + 0x78]
jae 0x1000538e
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.10003220
add esp, 8
mov dword [edi], eax
jmp 0x10005605
push str.TorrentUrl
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x100053cc
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x7c]
push eax
lea ecx, [edi + 0xa4]
call fcn.10002490
jmp 0x10005605
push str.UpdateType
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x1000541f
cmp dword [esp + 0x8c], esi
mov eax, dword [esp + 0x78]
jae 0x100053f2
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.10003220
add esp, 8
cmp eax, 1
jne 0x10005412
cmp edx, ebp
jne 0x10005412
mov al, al
mov byte [edi + 0xa0], al
jmp 0x10005605
xor al, al
mov byte [edi + 0xa0], al
jmp 0x10005605
push str.InvalidVersion
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x10005472
cmp dword [esp + 0x8c], esi
mov eax, dword [esp + 0x78]
jae 0x10005445
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.10003220
add esp, 8
cmp eax, 1
jne 0x10005465
cmp edx, ebp
jne 0x10005465
mov al, al
mov byte [edi + 0xa1], al
jmp 0x10005605
xor al, al
mov byte [edi + 0xa1], al
jmp 0x10005605
push str.ControlFlag
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x100054b3
cmp dword [esp + 0x8c], esi
mov eax, dword [esp + 0x78]
jae 0x10005498
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.10003220
add esp, 8
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], edx
jmp 0x10005605
push str.Name
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x100054e0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [edi + 0xe4]
call fcn.10002490
jmp 0x10005605
push str.IconUrl
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x1000550d
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x7c]
push edx
lea ecx, [edi + 0xc8]
call fcn.10002490
jmp 0x10005605
push str.realUrl
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x10005560
cmp dword [esp + 0x8c], esi
mov eax, dword [esp + 0x78]
jae 0x10005533
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.10003220
add esp, 8
cmp eax, 1
jne 0x10005553
cmp edx, ebp
jne 0x10005553
mov al, al
mov byte [edi + 0x100], al
jmp 0x10005605
xor al, al
mov byte [edi + 0x100], al
jmp 0x10005605
push str.InstallType
lea ecx, [esp + 0x94]
call fcn.100066d0
test eax, eax
jne 0x10005598
cmp dword [esp + 0x8c], esi
mov eax, dword [esp + 0x78]
jae 0x10005586
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.10003220
add esp, 8
mov dword [edi + 0x104], eax
jmp 0x10005605
sub esp, 0x1c
lea eax, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.10001ea0
sub esp, 0x1c
lea edx, [esp + 0xc8]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
mov byte [esp + 0xf4], 4
call fcn.10001ea0
lea esi, [esp + 0x74]
mov byte [esp + 0xf0], 3
call fcn.100075a0
add esp, 0x38
push eax
lea esi, [edi + 0x110]
mov byte [esp + 0xbc], 5
call fcn.10006870
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb8], 3
call fcn.100098b0
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, ebx
call edx
mov esi, eax
mov byte [esp + 0xb8], 2
cmp dword [esp + 0xa8], 8
mov dword [esp + 0x14], esi
jb 0x1000563b
mov eax, dword [esp + 0x94]
push eax
call fcn.10079508
add esp, 4
cmp esi, ebp
jne 0x1000521a
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
cmp dword [edi + 0x18], ebp
jne 0x1000566d
cmp dword [esp + 0x8c], 8
jb 0x10005669
mov ecx, dword [esp + 0x78]
push ecx
call fcn.10079508
add esp, 4
xor al, al
jmp 0x10005686
cmp dword [esp + 0x8c], 8
jb 0x10005684
mov edx, dword [esp + 0x78]
push edx
call fcn.10079508
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1007a1bc
add esp, 0xac
ret