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

Disassembly:
push 0xffffffffffffffff
push 0x573b87
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x641030]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x1e4]
mov eax, dword [esp + 0x1dc]
mov edx, dword [esp + 0x1e8]
mov ebp, dword [esp + 0x204]
mov edi, dword [esp + 0x1e0]
mov ebx, dword [esp + 0x200]
mov esi, dword [esp + 0x1d8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1f8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x1fc]
push str.a_httpDownload
mov dword [esp + 0x20], ecx
push ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ebx
call fcn.00437740
mov dword [esp + 0x1d0], 0
test esi, esi
jne 0x45d3aa
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1d0], 0xffffffff
call fcn.004377b0
xor al, al
jmp 0x45d917
mov ecx, ebx
call fcn.004725a0
mov eax, dword [ebx + 4]
mov dword [esp + 0x34], eax
xor eax, eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x24], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x18], al
call fcn.004b13a0
mov byte [esp + 0x1d0], 1
nop
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
push ebp
push ecx
mov ecx, dword [esp + 0x1fc]
push edx
mov edx, dword [esp + 0x1fc]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.0045c410
cmp byte [esp + 0x24], 0
mov bl, al
mov byte [esp + 0x17], bl
jne 0x45d42b
cmp byte [esp + 0x1a], 0
je 0x45d436
lea ecx, [esi + 0x614]
call fcn.0042c960
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 0x610], eax
test bl, bl
je 0x45d80e
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x2d4]
jne 0x45d58d
cmp ebx, 0x191
jne 0x45d58d
lea ecx, [esp + 0x68]
call fcn.0042d110
lea ecx, [edi + 0x168]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1d4], 2
call fcn.0042eb10
add edi, 0x1dc
mov ecx, edi
call fcn.0042bab0
test eax, eax
je 0x45d4b1
push 0x3f
lea ecx, [esp + 0x6c]
call fcn.0042f880
push edi
lea ecx, [esp + 0x6c]
call fcn.0042eb10
mov edx, dword [esp + 0x34]
push ebp
push edx
mov edx, dword [esp + 0x2c]
lea edi, [esi + 0x614]
push edi
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push 0x58ed38
lea ecx, [esp + 0x8c]
call fcn.0051b3b0
push eax
call fcn.004536e0
add esp, 0x28
test al, al
je 0x45d829
push 0x5c7c8c
mov ecx, edi
call fcn.0042cef0
test al, al
je 0x45d52b
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x1d0], 1
call fcn.0042d1d0
mov edi, dword [esp + 0x20]
jmp 0x45d3e0
push 0x5c5b38
mov ecx, edi
call fcn.0042cef0
test al, al
je 0x45d550
cmp byte [esp + 0x24], 0
jne 0x45d549
mov byte [esp + 0x24], 1
jmp 0x45d511
mov byte [esp + 0x1a], 1
jmp 0x45d509
push 0x5c5b48
mov ecx, edi
call fcn.0042cef0
test al, al
jne 0x45d622
push 0x5c5b80
mov ecx, edi
call fcn.0042cef0
test al, al
jne 0x45d622
lea ecx, [esp + 0x68]
mov byte [esp + 0x1d0], 1
call fcn.0042d1d0
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xdc]
call fcn.0042d110
lea ecx, [esp + 0x150]
mov byte [esp + 0x1d0], 3
call fcn.0042d110
mov byte [esp + 0x1d0], 4
mov byte [esp + 0x19], 0
cmp ebx, 0x12d
je 0x45d5e2
cmp ebx, 0x12e
je 0x45d5e2
cmp ebx, 0x12f
je 0x45d5e2
cmp ebx, 0x133
je 0x45d5e2
cmp ebx, 0x134
jne 0x45d643
mov esi, dword [esp + 0x1c]
push ebp
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x158]
push eax
lea ecx, [edi + 0x2c4]
push ecx
mov ecx, esi
call fcn.0044e1e0
mov byte [esp + 0x19], al
test al, al
je 0x45d647
lea edx, [esp + 0xdc]
push edx
lea ecx, [esi + 0x10c]
call fcn.0042ed20
jmp 0x45d647
cmp byte [esp + 0x24], 0
jne 0x45d633
mov byte [esp + 0x24], 1
jmp 0x45d511
cmp byte [esp + 0x18], 0
jne 0x45d509
jmp 0x45d511
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0xf64], 0
je 0x45d8b0
cmp ebx, 0x12d
je 0x45d684
cmp ebx, 0x12e
je 0x45d684
cmp ebx, 0x12f
je 0x45d684
cmp ebx, 0x133
je 0x45d684
cmp ebx, 0x134
jne 0x45d8b0
cmp byte [esp + 0x19], 0
je 0x45d841
lea ecx, [esp + 0xdc]
mov byte [esi + 0x108], 1
call fcn.0051b3b0
lea ecx, [esp + 0x150]
mov dword [esp + 0x38], eax
call fcn.0051b3b0
lea ecx, [edi + 0x2c4]
mov ebx, eax
call fcn.0051b3b0
mov esi, dword [esp + 0x34]
mov dword [esp + 0x40], eax
test esi, esi
je 0x45d716
test ebx, ebx
je 0x45d716
cmp dword [esp + 0x38], 0
je 0x45d716
push ebx
push str.HttpRedirect
mov ecx, esi
call fcn.004851b0
mov ecx, esi
call fcn.00485030
test eax, eax
je 0x45d716
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 + 0x48]
push ecx
mov ecx, eax
mov byte [esp + 0x27], 0
call edx
cmp byte [esp + 0x1b], 0
jne 0x45d886
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0044e3a0
push ebp
lea ecx, [esp + 0xe0]
call fcn.0051b3b0
push eax
mov ecx, edi
call fcn.004513c0
test al, al
je 0x45d8a2
lea esi, [edi + 0x80]
mov ecx, esi
call fcn.0042bab0
test eax, eax
je 0x45d761
push esi
mov esi, dword [esp + 0x2c]
lea ecx, [esi + 0x240]
call fcn.0040e730
jmp 0x45d765
mov esi, dword [esp + 0x28]
lea ebx, [edi + 0xf4]
mov ecx, ebx
call fcn.0042bab0
test eax, eax
je 0x45d77f
push ebp
push ebx
mov ecx, esi
call fcn.00472730
mov eax, dword [esp + 0x3c]
movzx ecx, byte [edi + 0x7c]
mov edx, dword [edi + 0x78]
push ebp
push eax
push esi
push 1
push ecx
push edx
add edi, 4
push edi
mov edi, dword [esp + 0x6c]
mov ecx, edi
call fcn.00477b60
mov esi, eax
test esi, esi
je 0x45d8a9
add edi, 0x64
push edi
lea ecx, [esi + 0x6e8]
call fcn.0040e890
mov ecx, edi
call fcn.0040fde0
test al, al
sete al
mov byte [esi + 0x6e4], al
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 0xa
mov dword [esp + 0x30], eax
jge 0x45d8b0
lea ecx, [esp + 0x150]
mov byte [esp + 0x1d0], 3
call fcn.0042d1d0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1d0], 1
call fcn.0042d1d0
mov edi, dword [esp + 0x20]
jmp 0x45d3e0
cmp dword [esp + 0x30], 0
jle 0x45d8df
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 0x180], 1
jmp 0x45d8df
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
push str.computeAuthorization_failed__1_.
mov ecx, ebp
call eax
lea ecx, [esp + 0x68]
jmp 0x45d8cb
push str.Failed_to_get_redirect_URL.
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
mov ecx, ebp
call eax
mov byte [esi + 0x180], 1
lea ecx, [esp + 0x150]
mov byte [esp + 0x17], 0
mov byte [esp + 0x1d0], 3
call fcn.0042d1d0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1d0], 1
call fcn.0042d1d0
jmp 0x45d8df
push str.Redirect_aborted_by_application_callback.
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 0x180], 1
jmp 0x45d857
push str.Redirect_URL_is_invalid.
jmp 0x45d846
push str.Unable_to_get_a_new_HTTP_connection_object_for_redirection.
jmp 0x45d88b
lea ecx, [esp + 0x150]
mov byte [esp + 0x1d0], 3
call fcn.0042d1d0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1d0], 1
call fcn.0042d1d0
cmp byte [esp + 0x17], 0
jne 0x45d8ee
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
push str.a_httpDownload_failed.
mov ecx, ebp
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1d0], 0
call fcn.004b13b0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1d0], 0xffffffff
call fcn.004377b0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.005550b0
add esp, 0x1c0
ret