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

Disassembly:
push 0xffffffffffffffff
push 0x1019b4f7
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x1ec]
mov eax, dword [esp + 0x1e4]
mov edx, dword [esp + 0x1f0]
mov edi, dword [esp + 0x214]
mov esi, dword [esp + 0x1e0]
mov ebp, dword [esp + 0x20c]
mov ebx, dword [esp + 0x1e8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x210]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x204]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x208]
push str.a_httpDownload
mov dword [esp + 0x40], ecx
push edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], ebp
call fcn.10061630
test esi, esi
mov dword [esp + 0x1d8], 0
mov byte [ebp], 0
jne 0x100a0964
lea ecx, [esp + 0x64]
mov dword [esp + 0x1d8], 0xffffffff
call fcn.100616a0
xor al, al
jmp 0x100a0ef0
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.10095ac0
mov edx, dword [esi + 4]
xor eax, eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x20], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x18], al
call fcn.101152a0
mov byte [esp + 0x1d8], 1
lea ecx, [ecx]
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.10017ff0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x1fc]
push edi
push eax
mov eax, dword [esp + 0x200]
push ecx
mov ecx, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x34]
push ebp
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
push ebx
mov ecx, esi
call fcn.1009f840
cmp byte [esp + 0x20], 0
mov byte [esp + 0x17], al
jne 0x100a09f9
cmp byte [esp + 0x1a], 0
je 0x100a0a04
lea ecx, [esi + 0x638]
call fcn.10010600
call sub.KERNEL32.dll_GetTickCount
cmp byte [esp + 0x17], 0
mov dword [esi + 0x634], eax
je 0x100a0e21
cmp dword [esp + 0x2c], 0
mov ebp, dword [ebp + 0x2d4]
jne 0x100a0b6f
cmp ebp, 0x191
jne 0x100a0b6f
lea ecx, [esp + 0x70]
call fcn.10010fb0
lea ecx, [ebx + 0x168]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x1dc], 2
call fcn.10012ae0
lea esi, [ebx + 0x1dc]
mov ecx, esi
call fcn.1000f630
test eax, eax
je 0x100a0a7e
push 0x3f
lea ecx, [esp + 0x74]
call fcn.100139f0
push esi
lea ecx, [esp + 0x74]
call fcn.10012ae0
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
push edi
push edx
mov edx, dword [esp + 0x28]
add esi, 0x638
push esi
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push 0x101e5bc0
lea ecx, [esp + 0x94]
call fcn.1008be90
push eax
call fcn.10096570
add esp, 0x28
test al, al
je 0x100a0e53
push 0x101ec674
mov ecx, esi
call fcn.10010d30
test al, al
je 0x100a0af8
lea ecx, [esp + 0x70]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x1d8], 1
call fcn.10011070
jmp 0x100a09a0
push 0x101f0814
mov ecx, esi
call fcn.10010d30
test al, al
je 0x100a0b36
cmp byte [esp + 0x20], 0
je 0x100a0c0f
lea ecx, [esp + 0x70]
mov byte [esp + 0x1a], 1
mov dword [esp + 0x2c], 1
mov byte [esp + 0x1d8], 1
call fcn.10011070
jmp 0x100a09a0
push 0x101f0824
mov ecx, esi
call fcn.10010d30
test al, al
jne 0x100a0c08
push 0x101f0928
mov ecx, esi
call fcn.10010d30
test al, al
jne 0x100a0c08
lea ecx, [esp + 0x70]
mov byte [esp + 0x1d8], 1
call fcn.10011070
lea ecx, [esp + 0xe4]
call fcn.10010fb0
lea ecx, [esp + 0x158]
mov byte [esp + 0x1d8], 3
call fcn.10010fb0
cmp ebp, 0x12d
mov byte [esp + 0x1d8], 4
mov byte [esp + 0x19], 0
je 0x100a0bc8
cmp ebp, 0x12e
je 0x100a0bc8
cmp ebp, 0x12f
je 0x100a0bc8
cmp ebp, 0x133
je 0x100a0bc8
cmp ebp, 0x134
jne 0x100a0c4b
mov esi, dword [esp + 0x1c]
push edi
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x160]
push eax
lea ecx, [ebx + 0x2c4]
push ecx
mov ecx, esi
call fcn.100a9bc0
test al, al
mov byte [esp + 0x19], al
je 0x100a0c4f
lea edx, [esp + 0xe4]
push edx
lea ecx, [esi + 0x10c]
call fcn.10012d20
jmp 0x100a0c4f
cmp byte [esp + 0x20], 0
jne 0x100a0c2a
lea ecx, [esp + 0x70]
mov byte [esp + 0x20], 1
mov byte [esp + 0x1d8], 1
call fcn.10011070
jmp 0x100a09a0
cmp byte [esp + 0x18], 0
jne 0x100a0ada
lea ecx, [esp + 0x70]
mov byte [esp + 0x1d8], 1
call fcn.10011070
jmp 0x100a09a0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x11d4], 0
je 0x100a0e81
cmp ebp, 0x12d
je 0x100a0c8c
cmp ebp, 0x12e
je 0x100a0c8c
cmp ebp, 0x12f
je 0x100a0c8c
cmp ebp, 0x133
je 0x100a0c8c
cmp ebp, 0x134
jne 0x100a0e81
cmp byte [esp + 0x19], 0
je 0x100a0e67
lea ecx, [esp + 0xe4]
mov byte [esi + 0x108], 1
call fcn.1008be90
lea ecx, [esp + 0x158]
mov dword [esp + 0x38], eax
call fcn.1008be90
lea ecx, [ebx + 0x2c4]
mov esi, eax
call fcn.1008be90
mov ebp, dword [esp + 0x34]
test ebp, ebp
mov dword [esp + 0x44], eax
je 0x100a0d1e
test esi, esi
je 0x100a0d1e
cmp dword [esp + 0x38], 0
je 0x100a0d1e
push esi
push str.HttpRedirect
mov ecx, ebp
call fcn.1007a7e0
mov ecx, ebp
call fcn.1007a660
test eax, eax
je 0x100a0d1e
mov edx, dword [eax]
mov edx, dword [edx + 0x5c]
lea ecx, [esp + 0x1b]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, eax
mov byte [esp + 0x27], 0
call edx
cmp byte [esp + 0x1b], 0
jne 0x100a0f18
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.100a9d80
push edi
lea ecx, [esp + 0xe8]
call fcn.1008be90
push eax
mov ecx, ebx
call fcn.10081840
test al, al
je 0x100a0f36
lea esi, [ebx + 0x80]
mov ecx, esi
call fcn.1000f630
test eax, eax
je 0x100a0d69
push esi
mov esi, dword [esp + 0x2c]
lea ecx, [esi + 0x248]
call fcn.1000aeb0
jmp 0x100a0d6d
mov esi, dword [esp + 0x28]
lea ebp, [ebx + 0xf4]
mov ecx, ebp
call fcn.1000f630
test eax, eax
je 0x100a0d87
push edi
push ebp
mov ecx, esi
call fcn.100ae5f0
mov ecx, dword [esp + 0x24]
call fcn.10049240
mov eax, dword [esp + 0x40]
movzx ecx, byte [ebx + 0x7c]
mov edx, dword [ebx + 0x78]
push edi
push eax
push esi
mov esi, dword [esp + 0x5c]
push 1
push ecx
push edx
lea eax, [ebx + 4]
push eax
mov ecx, esi
call fcn.10084870
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
je 0x100a0f49
add esi, 0x6c
push esi
lea ecx, [ebp + 0x710]
call fcn.1000b020
mov ecx, esi
call fcn.1000c960
test al, al
mov eax, dword [esp + 0x30]
sete cl
add eax, 1
cmp eax, 0xa
mov byte [ebp + 0x70c], cl
mov dword [esp + 0x30], eax
jge 0x100a0e81
lea ecx, [esp + 0x158]
mov byte [esp + 0x1d8], 3
call fcn.10011070
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1d8], 1
call fcn.10011070
jmp 0x100a09a0
cmp dword [esp + 0x30], 0
jle 0x100a0e2f
mov byte [ebp + 0x180], 1
cmp byte [esi + 0x86b], 0
jne 0x100a0ea9
cmp byte [esi + 0x869], 0
jne 0x100a0e4a
cmp byte [esi + 0x86a], 0
je 0x100a0ea9
mov edx, dword [esp + 0x48]
mov byte [edx], 1
jmp 0x100a0ea9
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.computeAuthorization_failed__1_.
mov ecx, edi
call edx
lea ecx, [esp + 0x70]
jmp 0x100a0e9c
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.Failed_to_get_redirect_URL.
mov ecx, edi
call edx
mov byte [esi + 0x180], 1
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x158]
mov byte [esp + 0x1d8], 3
call fcn.10011070
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1d8], 1
call fcn.10011070
mov ecx, dword [esp + 0x24]
call fcn.10049240
cmp byte [esp + 0x17], 0
jne 0x100a0ec7
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.a_httpDownload_failed.
mov ecx, edi
call eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1d8], 0
call fcn.101152b0
lea ecx, [esp + 0x64]
mov dword [esp + 0x1d8], 0xffffffff
call fcn.100616a0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.1018f87e
add esp, 0x1c8
ret
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.Redirect_aborted_by_application_callback.
mov ecx, edi
call edx
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x180], 1
jmp 0x100a0e7c
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Redirect_URL_is_invalid.
mov ecx, edi
call eax
jmp 0x100a0e75
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Unable_to_get_a_new_HTTP_connection_object_for_redirection.
mov ecx, edi
call eax
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 0x180], 1
lea ecx, [esp + 0x158]
mov byte [esp + 0x17], 0
mov byte [esp + 0x1d8], 3
call fcn.10011070
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1d8], 1
call fcn.10011070
jmp 0x100a0eb9