Function at 0x10045c60
Capabilities:
Check http status code
Initialize winhttp library
Parse pe header
Prepare http request
Read http header
Receive http response

Disassembly:
push 0x590
mov eax, 0x100d353b
call fcn.100c74ca
mov esi, ecx
mov dword [ebp - 0x258], esi
xor ebx, ebx
mov dword [ebp - 0x204], esi
lea ecx, [ebp - 0x200]
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x260], ebx
call fcn.1000e481
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], eax
mov word [ebp - 0x108], cx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x60], cx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xd8], cx
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], ax
push 0x3c
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 4
push ebx
push eax
mov byte [ebp - 0x25a], bl
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov dword [ebp - 0x254], 0x3c
add esp, 0xc
mov dword [ebp - 0x24c], eax
lea edi, [esi + 0x10]
mov dword [ebp - 0x240], eax
mov ecx, edi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x2c4], edi
call fcn.100096b0
push eax
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
call fcn.100426a0
xor eax, eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100426a0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
pop ecx
cmovae eax, dword [ebp - 0x48]
pop ecx
lea ecx, [ebp - 0x254]
push ecx
push ebx
push dword [ebp - 0x38]
push eax
call dword [sym.imp.winhttp.dll_WinHttpCrackUrl]
test eax, eax
je 0x10047c3b
mov al, byte [esi + 0x100]
test al, al
jne 0x10047c3b
push dword [ebp - 0x250]
lea ecx, [ebp - 0x510]
call fcn.100426a0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x510]
push eax
call fcn.100426a0
pop ecx
pop ecx
lea ecx, [ebp - 0x510]
mov byte [ebp - 4], 6
call fcn.100227b7
push dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x80], ebx
mov word [ebp - 0x90], ax
lea ecx, [ebp - 0x90]
push ebx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], 7
push eax
call fcn.100426a0
mov byte [ebp - 0x268], bl
lea eax, [ebp - 0x90]
push dword [ebp - 0x268]
lea ecx, [ebp - 0x78]
push eax
call fcn.100426a0
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x10045e39
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x90]
call fcn.100426a0
pop ecx
pop ecx
push dword [ebp - 0x244]
lea ecx, [ebp - 0x450]
call fcn.100426a0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.100426a0
pop ecx
pop ecx
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 6
call fcn.100227b7
push dword [ebp - 0x240]
xor eax, eax
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x30]
push ebx
lea eax, [ebp - 0x108]
mov dword [ebp - 0x1c], 7
push eax
call fcn.100426a0
mov byte [ebp - 0x268], bl
lea eax, [ebp - 0x30]
push dword [ebp - 0x268]
lea ecx, [ebp - 0x108]
push eax
call fcn.100426a0
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x10045ecd
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x30]
call fcn.100426a0
pop ecx
pop ecx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x468]
call fcn.100426a0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.100426a0
pop ecx
pop ecx
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 6
call fcn.100227b7
push dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x34c], ebx
mov word [ebp - 0x35c], ax
lea ecx, [ebp - 0x35c]
push ebx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x348], 7
push eax
call fcn.100426a0
mov byte [ebp - 0x268], bl
lea eax, [ebp - 0x35c]
push dword [ebp - 0x268]
lea ecx, [ebp - 0x60]
push eax
call fcn.100426a0
mov eax, dword [ebp - 0x348]
cmp eax, 8
jb 0x10045f6d
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x35c]
call fcn.100426a0
pop ecx
pop ecx
lea eax, [ebp - 0x59c]
mov dword [ebp - 0x2c0], edi
push eax
mov ecx, edi
call fcn.100426a0
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
call fcn.100426a0
lea ecx, [ebp - 0x59c]
call fcn.100227b7
xor eax, eax
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 0xb
push eax
call fcn.100426a0
test eax, eax
mov eax, dword [ebp - 0x1bc]
pop ecx
jne 0x10045fd5
cmp eax, 0xa
jge 0x10045feb
cmp eax, 8
jne 0x1004612d
cmp dword [ebp - 0x1b8], 1
jl 0x1004612d
mov edi, 0x100eadb0
lea ecx, [ebp - 0x3ec]
push edi
call fcn.100426a0
push edi
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 0xc
call fcn.100426a0
push dword [esi + 8]
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 0xd
call fcn.100426a0
lea eax, [ebp - 0x3ec]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x3bc]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x3d4]
call fcn.100090b6
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 0xb
call fcn.100090b6
test esi, esi
je 0x10046104
push edi
lea ecx, [ebp - 0x3a4]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 0xf
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x10
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x3a4]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x374]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push str.SendHttpRequestSyncInternal
push str._s_detected_Windows_version___8.1__using_auto_proxy_settings
push eax
mov ecx, dword [esi + 0x14]
call dword [0x100e97d8]
call dword [esi + 0x14]
add esp, 0xc
lea ecx, [ebp - 0x374]
call fcn.100090b6
lea ecx, [ebp - 0x38c]
call fcn.100090b6
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 0xb
call fcn.100090b6
push ebx
push ebx
push ebx
push 4
push str.Mozilla___3.0__compatible__Adobe_NGL__Windows_
call dword [sym.imp.winhttp.dll_WinHttpOpen]
mov esi, eax
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x26c], esi
mov esi, dword [ebp - 0x258]
jmp 0x100464b8
push ebx
push ebx
push ebx
push ebx
push str.Mozilla___3.0__compatible__Adobe_NGL__Windows_
call dword [sym.imp.winhttp.dll_WinHttpOpen]
mov edi, eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x288], edi
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x26c], edi
push eax
call fcn.10043ea8
add esp, 0xc
test al, al
je 0x100464b3
xor eax, eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x218], 3
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100426a0
cmp dword [ebp - 0xdc], 8
lea eax, [ebp - 0xf0]
pop ecx
cmovae eax, dword [ebp - 0xf0]
pop ecx
push 0xc
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
push 0x26
push edi
call dword [sym.imp.winhttp.dll_WinHttpSetOption]
test eax, eax
jne 0x1004648f
mov edi, 0x100eadb0
lea ecx, [ebp - 0x374]
push edi
call fcn.100426a0
push edi
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 0x13
call fcn.100426a0
push dword [esi + 8]
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 0x14
call fcn.100426a0
lea eax, [ebp - 0x374]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x3a4]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x3a4]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x38c]
call fcn.100090b6
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x12
call fcn.100090b6
test esi, esi
je 0x10046305
push edi
lea ecx, [ebp - 0x3bc]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 0x16
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 0x17
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x3bc]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.100aa486
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [edi + 0x24]
push eax
push str.SendHttpRequestSyncInternal
push str._s_:_Failed_in_setting_proxy__error__lu
push 0x100eadb0
push esi
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x3ec]
call fcn.100090b6
lea ecx, [ebp - 0x3d4]
call fcn.100090b6
lea ecx, [ebp - 0x3bc]
call fcn.100090b6
mov eax, dword [ebp - 0xdc]
cmp eax, 8
jb 0x10046325
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xf0]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], ax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xdc], 7
cmp eax, 8
jb 0x1004635e
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xc0]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0xb0], ebx
mov word [ebp - 0xc0], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xac], 7
cmp eax, 8
jb 0x10046391
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x48]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x34], 7
cmp eax, 8
jb 0x100463c1
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xa8]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x98], ebx
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], 7
cmp eax, 8
jb 0x100463f4
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x78]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], ax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x64], 7
cmp eax, 8
jb 0x10046424
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xd8]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc4], 7
cmp eax, 8
jb 0x10046457
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x60]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x4c], 7
cmp eax, 8
jb 0x10046487
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x108]
call fcn.100426a0
pop ecx
pop ecx
push 5
pop esi
jmp 0x10047ec7
mov eax, dword [ebp - 0xdc]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x100464b3
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xf0]
call fcn.100426a0
pop ecx
pop ecx
mov edi, 0x100eadb0
cmp dword [ebp - 0x288], 0
je 0x10047ac1
mov al, byte [esi + 0x100]
test al, al
jne 0x10047ac1
mov ecx, dword [ebp - 0x2c4]
call fcn.1004a51f
imul eax, eax, 0x3e8
push eax
push eax
push eax
push eax
push dword [ebp - 0x288]
call dword [sym.imp.winhttp.dll_WinHttpSetTimeouts]
xor eax, eax
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.100426a0
cmp dword [ebp - 0x16c], 8
lea eax, [ebp - 0x180]
pop ecx
cmovae eax, dword [ebp - 0x180]
pop ecx
push ebx
push dword [ebp - 0x23c]
push eax
push dword [ebp - 0x288]
call dword [sym.imp.winhttp.dll_WinHttpConnect]
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x268], eax
test eax, eax
je 0x1004794b
mov cl, byte [esi + 0x100]
test cl, cl
jne 0x1004794b
push 0x51
pop eax
mov dword [ebp - 0x264], ebx
cmp word [ebp - 0x23c], ax
je 0x10046599
mov eax, 0x1bb
cmp word [ebp - 0x23c], ax
je 0x10046599
cmp dword [ebp - 0x248], 2
jne 0x100465a3
mov dword [ebp - 0x264], 0x800000
mov ecx, dword [ebp - 0x2c4]
mov byte [ebp - 4], 0x1a
call fcn.1004a51b
lea ecx, [ebp - 0x120]
push ecx
mov ecx, eax
call fcn.10047fac
cmp dword [ebp - 0x110], 0
mov byte [ebp - 4], 0x1b
je 0x100465fd
push dword [0x1016a310]
lea ecx, [ebp - 0x60]
call fcn.100426a0
cmp dword [ebp - 0x10c], 8
mov ecx, eax
push dword [ebp - 0x110]
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
push eax
call fcn.100426a0
lea ecx, [ebp - 0x120]
call fcn.100227b7
jmp 0x1004675f
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], bl
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100426a0
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x420]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 0x24
call fcn.100426a0
push dword [esi + 8]
lea ecx, [ebp - 0x540]
mov byte [ebp - 4], 0x25
call fcn.100426a0
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x540]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x540]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x528]
call fcn.100090b6
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 0x23
call fcn.100090b6
test esi, esi
je 0x100468ba
push edi
lea ecx, [ebp - 0x2b8]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x27
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x28
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x1a4]
cmp dword [ebp - 0x190], 0x10
cmovae ecx, dword [ebp - 0x1a4]
mov esi, dword [eax]
push ecx
push str.SendHttpRequestSyncInternal
push str._s:_Calling_endpoint__s
mov ecx, dword [esi + 0x14]
push eax
call dword [0x100e97d8]
call dword [esi + 0x14]
add esp, 0x10
lea ecx, [ebp - 0x438]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], eax
mov word [ebp - 0x168], cx
mov dword [ebp - 0x13c], eax
xor eax, eax
mov dword [ebp - 0x140], ebx
mov word [ebp - 0x150], ax
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.100426a0
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100426a0
mov esi, dword [ebp - 0x2c0]
lea edi, [ebp - 0x18c]
xor eax, eax
add esp, 0x10
stosd dword es:[edi], eax
mov ecx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10009693
push eax
lea ecx, [ebp - 0x18c]
call fcn.10043bc2
mov edi, dword [ebp - 0x258]
mov byte [ebp - 4], 0x2c
lea eax, [edi + 0x10]
mov ecx, eax
mov dword [ebp - 0x268], eax
call fcn.1004a4b9
mov eax, dword [eax + 0x10]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100426a0
pop ecx
pop ecx
mov eax, dword [str.Content_Length]
lea ecx, [ebp - 0x404]
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x284]
push eax
call fcn.100426a0
push dword [ebp - 0x408]
lea ecx, [ebp - 0x570]
mov byte [ebp - 4], 0x2e
call fcn.100426a0
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x558]
call fcn.100426a0
lea eax, [ebp - 0x570]
push eax
lea ecx, [ebp - 0x18c]
call fcn.100426a0
lea ecx, [ebp - 0x558]
call fcn.100227b7
lea ecx, [ebp - 0x570]
call fcn.100227b7
lea ecx, [ebp - 0x404]
call fcn.100227b7
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x2c
call fcn.100227b7
cmp dword [ebp - 0x13c], 8
lea ecx, [ebp - 0x150]
cmovae ecx, dword [ebp - 0x150]
push dword [ebp - 0x264]
cmp dword [ebp - 0x154], 8
lea eax, [ebp - 0x168]
push ebx
cmovae eax, dword [ebp - 0x168]
push ebx
push ebx
push ecx
push eax
mov eax, dword [ebp - 0x2bc]
push eax
call dword [sym.imp.winhttp.dll_WinHttpOpenRequest]
mov dword [ebp - 0x260], eax
test eax, eax
je 0x10047768
lea eax, [edi + 0x100]
mov dword [ebp - 0x2c0], eax
mov al, byte [eax]
test al, al
jne 0x10047768
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10043da8
pop ecx
pop ecx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], bl
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x2f
push eax
mov ecx, esi
call fcn.1004a4b9
push eax
call fcn.100426a0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x1a8], ebx
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
push ebx
cmovae eax, dword [ebp - 0x138]
push ecx
push ecx
push eax
push ebx
push ebx
push dword [ebp - 0x260]
call dword [sym.imp.winhttp.dll_WinHttpSendRequest]
lea ecx, [ebp - 0x584]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 0x259], bl
call fcn.1000e481
lea eax, [ebp - 0x584]
push eax
lea ecx, [ebp - 0x200]
call fcn.100426a0
lea ecx, [ebp - 0x584]
call fcn.1000fba6
mov esi, dword [str.SHUTDOWN_STATE]
call fcn.100a94bb
push esi
mov ecx, eax
call fcn.100426a0
lea esi, [edi + 0x100]
test al, al
je 0x10046b1d
mov al, 1
xchg byte [esi], al
cmp dword [ebp - 0x26c], 0
je 0x10047670
mov al, byte [esi]
test al, al
jne 0x10047670
push ebx
push dword [ebp - 0x260]
call dword [sym.imp.winhttp.dll_WinHttpReceiveResponse]
test eax, eax
je 0x10047528
mov al, byte [esi]
test al, al
jne 0x10047528
push ebx
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1a8], 4
push eax
push ebx
push 0x20000013
push dword [ebp - 0x260]
call dword [sym.imp.winhttp.dll_WinHttpQueryHeaders]
mov eax, dword [ebp - 0x18]
mov ecx, edi
push eax
mov word [ebp - 0x1fc], ax
call fcn.100426a0
cmp dword [ebp - 0x18], 0x190
mov dword [ebp - 0x264], eax
jb 0x10046cb3
cmp dword [ebp - 0x18], 0x197
jne 0x10046cb3
mov edi, 0x100eadb0
lea ecx, [ebp - 0x2a0]
push edi
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x36
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x37
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x38
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x284]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
test esi, esi
je 0x10046dd5
push edi
lea ecx, [ebp - 0x2a0]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x39
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x3a
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push dword [ebp - 0x18]
push str.SendHttpRequestSyncInternal
mov ecx, dword [esi + 0x24]
push str._s:_Received_Error_response_with_status__lu
push edi
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x14
jmp 0x10046db0
mov edi, 0x100eadb0
lea ecx, [ebp - 0x2a0]
push edi
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x30
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x31
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x32
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x284]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
test esi, esi
je 0x10046dd5
push edi
lea ecx, [ebp - 0x2a0]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x33
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x34
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x35
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push dword [ebp - 0x18]
push str.SendHttpRequestSyncInternal
mov ecx, dword [esi + 0x14]
push str._s:_Received_response_with_status__lu
push eax
call dword [0x100e97d8]
call dword [esi + 0x14]
add esp, 0x10
lea ecx, [ebp - 0x284]
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
cmp dword [ebp - 0x18], 0x197
jne 0x1004716f
cmp byte [ebp - 0x25a], 0
jne 0x1004716f
mov esi, dword [ebp - 0x268]
mov ecx, esi
call fcn.1004a514
cmp dword [eax + 0x10], ebx
je 0x1004716f
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.100426a0
pop ecx
pop ecx
test al, al
jne 0x10046f51
push edi
lea ecx, [ebp - 0x2a0]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x3c
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x3d
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x3e
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x284]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
test esi, esi
je 0x10046f3d
push edi
lea ecx, [ebp - 0x2a0]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x3f
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x40
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x41
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push str.SendHttpRequestSyncInternal
push str._s_:_Failed_while_quering_for_Proxy_Authentication_Method
push edi
mov ecx, dword [esi + 0x24]
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x284]
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
push 5
pop eax
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x259], bl
jmp 0x1004716f
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], eax
mov word [ebp - 0x90], cx
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x43
push eax
mov ecx, esi
call fcn.1004a514
push eax
call fcn.100426a0
pop ecx
pop ecx
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.1002c01c
push eax
call fcn.100426a0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x90]
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x7c], 8
push ecx
cmovae eax, dword [ebp - 0x90]
push eax
push dword [ebp - 0x2cc]
push 1
push dword [ebp - 0x260]
call dword [sym.imp.winhttp.dll_WinHttpSetCredentials]
test eax, eax
jne 0x10047111
push edi
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 0x25a], bl
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x44
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x45
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x46
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x284]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x43
call fcn.100090b6
test esi, esi
je 0x10047106
push edi
lea ecx, [ebp - 0x2a0]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x47
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x48
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x49
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [edi + 0x24]
push eax
push str.SendHttpRequestSyncInternal
push str._s_:_Failed_in_setting_proxy_credentials__error:_lu
push 0x100eadb0
push esi
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x284]
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
call fcn.100090b6
mov edi, 0x100eadb0
push 5
pop eax
mov dword [ebp - 0x264], eax
jmp 0x10047118
mov byte [ebp - 0x25a], 1
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x10047132
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x30]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1c], 7
mov byte [ebp - 4], 0x2f
cmp eax, 8
jb 0x10047163
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x90]
call fcn.100426a0
pop ecx
pop ecx
mov al, byte [ebp - 0x25a]
mov byte [ebp - 0x259], al
push ebx
lea eax, [ebp - 0x204]
mov dword [ebp - 0x204], ebx
push eax
push ebx
push ebx
push 0x16
push dword [ebp - 0x260]
call dword [sym.imp.winhttp.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1004728c
mov eax, dword [ebp - 0x2c0]
mov al, byte [eax]
test al, al
jne 0x1004728c
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1004728c
mov eax, dword [ebp - 0x204]
xor ecx, ecx
push 2
shr eax, 1
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100426a0
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x204]
push eax
push esi
push ebx
push 0x16
push dword [ebp - 0x260]
call dword [sym.imp.winhttp.dll_WinHttpQueryHeaders]
xor eax, eax
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
push esi
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x4a
call fcn.100426a0
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x4b
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100426a0
pop ecx
pop ecx
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x4a
call fcn.100227b7
sub esp, 0x18
lea eax, [ebp - 0x120]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.100426a0
lea eax, [ebp - 0x1f8]
push eax
call fcn.10044ae7
push esi
call fcn.100c7651
mov eax, dword [ebp - 0x10c]
add esp, 0x20
mov byte [ebp - 4], 0x2f
cmp eax, 8
jb 0x1004728c
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x120]
call fcn.100426a0
pop ecx
pop ecx
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
mov al, byte [eax]
test al, al
jne 0x100473c1
mov esi, dword [ebp - 0x260]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.winhttp.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x10047403
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x100473c1
inc eax
push eax
call fcn.100426a0
mov ecx, dword [ebp - 0x20c]
inc ecx
mov dword [ebp - 0x26c], eax
push ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x20c]
push dword [ebp - 0x26c]
push esi
call dword [sym.imp.winhttp.dll_WinHttpReadData]
mov ecx, dword [ebp - 0x264]
test eax, eax
mov esi, dword [ebp - 0x26c]
push 5
pop eax
cmove ecx, eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x264], ecx
test eax, eax
je 0x10047332
mov byte [eax + esi], bl
mov ecx, dword [ebp - 0x268]
call fcn.1004a50d
test al, al
jne 0x1004739b
xor eax, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x52
push eax
push esi
call fcn.100426a0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
pop ecx
cmovae eax, dword [ebp - 0x30]
pop ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1ec]
push eax
call fcn.100426a0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x2f
cmp eax, 8
jb 0x100473ad
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x30]
call fcn.100426a0
pop ecx
pop ecx
jmp 0x100473ad
push dword [ebp - 0x208]
lea ecx, [ebp - 0x1d4]
push esi
call fcn.100426a0
push esi
call fcn.100c7651
cmp dword [ebp - 0x208], 0
pop ecx
ja 0x100472a8
mov esi, dword [ebp - 0x264]
mov edi, dword [ebp - 0x258]
cmp byte [ebp - 0x259], 0
mov ecx, dword [ebp - 0x2c8]
jne 0x10046aa2
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x100478ab
inc eax
push eax
push dword [ebp - 0x138]
call fcn.100426a0
pop ecx
pop ecx
jmp 0x100478ab
push edi
lea ecx, [ebp - 0x2a0]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x4c
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x4d
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x4e
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x284]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
test esi, esi
je 0x1004751e
push edi
lea ecx, [ebp - 0x2a0]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x4f
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x50
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x51
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push str.SendHttpRequestSyncInternal
push str._s_failed_in_querying_available_data
push edi
mov ecx, dword [esi + 0x24]
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x284]
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
push 5
pop eax
mov esi, eax
jmp 0x100473c7
mov edi, 0x100eadb0
lea ecx, [ebp - 0x2a0]
push edi
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x53
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x54
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x55
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x284]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
test esi, esi
je 0x10047655
push edi
lea ecx, [ebp - 0x2a0]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x56
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x57
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x58
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push str.SendHttpRequestSyncInternal
push str._s_failed_in_receiving_response_or_request_cancelled__error__lu
mov ecx, dword [edi + 0x24]
push 0x100eadb0
push esi
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x284]
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, dword [ebp - 0x258]
mov ecx, edi
push eax
call fcn.100426a0
mov esi, eax
jmp 0x100473cd
mov edi, 0x100eadb0
lea ecx, [ebp - 0x2a0]
push edi
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x59
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x5a
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x5b
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x284]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x2b8]
call fcn.100090b6
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x2f
call fcn.100090b6
test esi, esi
je 0x10047655
push edi
lea ecx, [ebp - 0x2a0]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x5c
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x5d
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x5e
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100aa486
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push str.SendHttpRequestSyncInternal
push str._s_failed_in_http_send_or_request_cancelled__error__lu
jmp 0x1004761b
mov edi, 0x100eadb0
lea ecx, [ebp - 0x2fc]
push edi
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x5f
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x60
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 0x61
push eax
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x138]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x2e4]
call fcn.100090b6
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x2c
call fcn.100090b6
test esi, esi
je 0x10047895
push edi
lea ecx, [ebp - 0x344]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x62
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0x63
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x344]
mov byte [ebp - 4], 0x64
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.100aa486
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [edi + 0x24]
push eax
push str.SendHttpRequestSyncInternal
push str._s_failed_in_http_open_request_or_request_cancelled__error__lu
push 0x100eadb0
push esi
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x314]
call fcn.100090b6
lea ecx, [ebp - 0x32c]
call fcn.100090b6
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x2c
call fcn.100090b6
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, dword [ebp - 0x258]
mov ecx, edi
push eax
call fcn.100426a0
mov esi, eax
lea ecx, [ebp - 0x18c]
call fcn.1002263c
mov eax, dword [ebp - 0x13c]
cmp eax, 8
jb 0x100478d6
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x150]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x140], ebx
mov word [ebp - 0x150], ax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x13c], 7
cmp eax, 8
jb 0x1004790f
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x168]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x158], ebx
mov word [ebp - 0x168], ax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x154], 7
cmp eax, 0x10
jb 0x10047a83
inc eax
push eax
push dword [ebp - 0x1a4]
call fcn.100426a0
pop ecx
pop ecx
jmp 0x10047a83
push edi
lea ecx, [ebp - 0x314]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x65
call fcn.100426a0
push dword [esi + 8]
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x66
call fcn.100426a0
lea eax, [ebp - 0x314]
mov byte [ebp - 4], 0x67
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x344]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x32c]
call fcn.100090b6
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0x19
call fcn.100090b6
test esi, esi
je 0x10047a6d
push edi
lea ecx, [ebp - 0x284]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x68
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x69
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0x6a
push eax
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.100aa486
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [edi + 0x24]
push eax
push str.SendHttpRequestSyncInternal
push str._s_failed_in_http_connect_or_request_cancelled__error__lu
push 0x100eadb0
push esi
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x2fc]
call fcn.100090b6
lea ecx, [ebp - 0x2e4]
call fcn.100090b6
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x19
call fcn.100090b6
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, dword [ebp - 0x258]
mov ecx, edi
push eax
call fcn.100426a0
mov esi, eax
mov eax, dword [ebp - 0x16c]
cmp eax, 8
jb 0x10047aa3
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x180]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
jmp 0x10047bf9
push edi
lea ecx, [ebp - 0x314]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x6b
call fcn.100426a0
push dword [esi + 8]
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x6c
call fcn.100426a0
lea eax, [ebp - 0x314]
mov byte [ebp - 4], 0x6d
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x344]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x32c]
call fcn.100090b6
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0xb
call fcn.100090b6
test esi, esi
je 0x10047be3
push edi
lea ecx, [ebp - 0x284]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x6e
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x6f
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0x70
push eax
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.100aa486
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [edi + 0x24]
push eax
push str.SendHttpRequestSyncInternal
push str._s_failed_in_http_open_or_request_cancelled__error__lu
push 0x100eadb0
push esi
call dword [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x2fc]
call fcn.100090b6
lea ecx, [ebp - 0x2e4]
call fcn.100090b6
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0xb
call fcn.100090b6
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, dword [ebp - 0x258]
mov ecx, edi
push eax
call fcn.100426a0
mov esi, eax
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x10047c1d
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xc0]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
jmp 0x10047d5e
mov edi, 0x100eadb0
lea ecx, [ebp - 0x314]
push edi
call fcn.100426a0
push edi
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x71
call fcn.100426a0
push dword [esi + 8]
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x72
call fcn.100426a0
lea eax, [ebp - 0x314]
mov byte [ebp - 4], 0x73
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.100aa486
add esp, 0xc
lea ecx, [ebp - 0x344]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x32c]
call fcn.100090b6
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 6
call fcn.100090b6
test esi, esi
je 0x10047d55
push edi
lea ecx, [ebp - 0x284]
call fcn.100426a0
push edi
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x74
call fcn.100426a0
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x75
push dword [eax + 8]
call fcn.100426a0
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0x76
push eax
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.100aa486
add esp, 0xc
mov esi, dword [eax]
push str.SendHttpRequestSyncInternal
push str._s_failed_in_cracking_URL_or_request_cancelled
push edi
mov ecx, dword [esi + 0x24]
push eax
call dword [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x2fc]
call fcn.100090b6
lea ecx, [ebp - 0x2e4]
call fcn.100090b6
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 6
call fcn.100090b6
mov edi, dword [ebp - 0x258]
push 2
pop esi
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x10047d6f
push eax
call dword [sym.imp.winhttp.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x2bc]
test eax, eax
je 0x10047d80
push eax
call dword [sym.imp.winhttp.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x288]
test eax, eax
je 0x10047d91
push eax
call dword [sym.imp.winhttp.dll_WinHttpCloseHandle]
mov al, byte [edi + 0x100]
mov ecx, dword [ebp - 0x2c4]
test al, al
push 7
pop eax
cmovne esi, eax
lea eax, [ebp - 0x200]
push eax
mov dword [ebp - 0x200], esi
call fcn.100426a0
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x10047dd1
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x48]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x34], 7
cmp eax, 8
jb 0x10047e01
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xa8]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x98], ebx
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], 7
cmp eax, 8
jb 0x10047e34
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x78]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], ax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x64], 7
cmp eax, 8
jb 0x10047e64
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xd8]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc4], 7
cmp eax, 8
jb 0x10047e97
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x60]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x4c], 7
cmp eax, 8
jb 0x10047ec7
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x108]
call fcn.100426a0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0xf8], ebx
lea ecx, [ebp - 0x200]
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
call fcn.1000fba6
mov eax, esi
call fcn.100c7417
ret