Function at 0x1f8d2069
Capabilities:
Prepare http request
Set http header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [0x1f97b00c]
mov ebx, 0x1f97b00c
cmp eax, ebx
je 0x1f8d20a9
test dword [eax + 0x1c], 0x400
je 0x1f8d20a9
push dword [esi + 0x22dc]
push esi
push 0x1f879438
push 0xf8
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f89f5b3
mov eax, dword [ebp + 0x14]
xor edi, edi
cmp eax, edi
je 0x1f8d20b4
mov dword [eax], edi
cmp dword [esi + 0x201c], edi
jne 0x1f8d2151
mov ecx, dword [esi + 8]
lea eax, [esi + 0x201c]
push eax
call fcn.1f8ccef5
mov edi, eax
cmp edi, 0x3e5
jne 0x1f8d2117
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2107
test dword [eax + 0x1c], 0x400
je 0x1f8d2107
push dword [esi + 0x22dc]
push esi
push 0x1f879438
push 0xf9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f89f5b3
mov byte [esi + 0x2020], 1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
test edi, edi
je 0x1f8d2151
mov ecx, dword [esi + 0x22b0]
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0xfa
jmp 0x1f8d2ee7
mov eax, dword [esi + 0x22c4]
test eax, eax
mov eax, dword [esi + 8]
jne 0x1f8d22a0
mov dword [esi + 0x22d0], 1
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x17c]
cmp eax, 2
sete al
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x800000
push eax
xor eax, eax
push eax
push eax
push eax
lea ecx, [esi + 0x18]
push ecx
push 0x1f879db4
push dword [esi + 0x202c]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
and dword [esi + 0x22d0], 0
mov dword [esi + 0x22c4], eax
mov eax, dword [esi + 0x22c4]
test eax, eax
jne 0x1f8d2206
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
lea ecx, [esi + 0x18]
push ecx
push 0x1f879438
push 0xfb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f8b69b4
jmp 0x1f8d2ef2
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d223f
test dword [eax + 0x1c], 0x400
je 0x1f8d223f
push dword [esi + 0x202c]
push dword [esi + 0x22c4]
mov eax, dword [0x1f97b00c]
push esi
push 0x1f879438
push 0xfc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f8c2446
mov ecx, dword [esi + 0x201c]
test ecx, ecx
je 0x1f8d234d
push dword [esi + 0x22c4]
push dword [esi + 0x22b0]
call fcn.1f8e93ec
test al, al
jne 0x1f8d234d
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
mov ecx, dword [esi + 0x22b0]
mov eax, dword [ecx]
call dword [eax + 0x48]
push eax
mov eax, dword [0x1f97b00c]
push 0x1f879438
push 0xff
jmp 0x1f8d2ee7
mov eax, dword [eax + 0x34]
test byte [eax + 0x1f0], 1
jne 0x1f8d223f
mov ecx, esi
call fcn.1f8cc10b
mov dword [ebp - 0xc], eax
cmp eax, 3
je 0x1f8d223f
push dword [esi + 0x22d4]
mov ecx, esi
push dword [esi + 0x22b0]
call fcn.1f8cff80
mov edi, eax
test edi, edi
je 0x1f8d22fe
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0xfd
jmp 0x1f8d2ee7
mov ecx, esi
call fcn.1f8cc10b
cmp dword [ebp - 0xc], eax
je 0x1f8d223f
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2335
test dword [eax + 0x1c], 0x200
je 0x1f8d2335
push 0x1f879438
push 0xfe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895ce3
mov eax, dword [esi + 0x22b0]
mov ecx, dword [eax]
push 0x4033c44d
push eax
call dword [ecx + 0x14]
pop ecx
pop ecx
jmp 0x1f8d2ef2
cmp byte [esi + 0xe], 0
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
je 0x1f8d23b3
push 4
lea eax, [ebp - 0x10]
push eax
push 0x1f
push dword [esi + 0x22c4]
mov dword [ebp - 0x10], 0x100
call edi
cmp eax, 1
je 0x1f8d23b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x100
jmp 0x1f8d2ee7
cmp byte [esi + 0xf], 0
je 0x1f8d2413
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1f
push dword [esi + 0x22c4]
mov dword [ebp - 0x14], 0x1000
call edi
cmp eax, 1
je 0x1f8d2413
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x101
jmp 0x1f8d2ee7
cmp byte [esi + 0xd], 0
je 0x1f8d24cd
push 4
lea eax, [ebp - 0x18]
push eax
push 0x60
push dword [esi + 0x22c4]
mov dword [ebp - 0x18], 1
call edi
cmp eax, 1
je 0x1f8d24cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 0x2ee9
cmp edi, ecx
jne 0x1f8d2497
mov eax, dword [esi + 0x22b0]
mov edx, dword [eax]
push 0x4033c415
push ecx
push eax
call dword [edx + 0x1c]
add esp, 0xc
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push 0x1f879438
push 0x102
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895ce3
jmp 0x1f8d2ef2
mov ecx, dword [esi + 0x22b0]
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x103
jmp 0x1f8d2ee7
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x17c], 2
jne 0x1f8d253c
cmp byte [esi + 0x10], 0
jne 0x1f8d253c
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x4f
push dword [esi + 0x22c4]
mov dword [ebp - 0x1c], 1
call edi
cmp eax, 1
je 0x1f8d253c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x104
jmp 0x1f8d2ee7
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x17c], 2
jne 0x1f8d25a4
xor ecx, ecx
cmp dword [eax + 0x200], ecx
jne 0x1f8d25a4
push ecx
push ecx
push 0x2f
push dword [esi + 0x22c4]
call edi
cmp eax, 1
je 0x1f8d25a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x105
jmp 0x1f8d2ee7
mov ecx, esi
call fcn.1f8cd33d
test al, al
je 0x1f8d25e4
call fcn.1f8cc4f3
mov edi, eax
test edi, edi
je 0x1f8d25e4
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x106
jmp 0x1f8d2ee7
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
test byte [eax + 0x1f0], 1
jne 0x1f8d2974
cmp dword [esi + 0x2030], 0
je 0x1f8d2974
mov ecx, dword [esi + 0x2b40]
mov dword [ebp - 0x1c], ecx
cmp ecx, 2
jne 0x1f8d2687
mov edi, 0x1f872158
push edi
call fcn.1f8a76d7
mov ebx, 0x1f8724fc
test al, al
je 0x1f8d262d
push ebx
push edi
call fcn.1f8ccd14
mov edi, 0x1f871a48
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d2643
push ebx
push edi
call fcn.1f8ccd14
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x210], 0
je 0x1f8d2663
mov ecx, esi
call fcn.1f8ce876
mov edi, eax
test edi, edi
jne 0x1f8d2ef2
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
add eax, 0x1f0
push eax
push 0
mov ecx, esi
call fcn.1f8cdea3
mov edi, eax
test edi, edi
jne 0x1f8d2ef2
jmp 0x1f8d296f
mov eax, dword [eax + 0x17c]
cmp eax, 2
jne 0x1f8d27d6
cmp ecx, 4
je 0x1f8d26a8
cmp dword [esi + 0x2b44], 4
jne 0x1f8d27d6
mov edi, 0x1f872158
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d26c2
push 0x1f87251c
push edi
call fcn.1f8ccd14
mov edi, 0x1f871a48
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d26dc
push 0x1f87251c
push edi
call fcn.1f8ccd14
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x210], 0
je 0x1f8d2701
mov ecx, esi
call fcn.1f8ce876
mov edi, eax
test edi, edi
jne 0x1f8d2ef2
mov ebx, 0x1f97b00c
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x1f4], 0
jne 0x1f8d27bc
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2742
test dword [eax + 0x1c], 0x400
je 0x1f8d2742
push dword [esi + 0x22dc]
push esi
push 0x1f879438
push 0x107
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f89f5b3
push 4
lea eax, [ebp - 0x20]
push eax
push 0x4d
push dword [esi + 0x22c4]
xor edi, edi
inc edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1f8d279d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2d41
test dword [eax + 0x1c], 0x200
je 0x1f8d2d41
push edi
push 0x1f879438
push 0x108
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895d0a
jmp 0x1f8d2d41
mov dword [esi + 0x2b68], edi
mov edi, 0x1f8721b8
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d27bc
push 0
push 0
push edi
call fcn.1f8a751c
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
add eax, 0x1f0
push eax
push 0
mov ecx, esi
call fcn.1f8cdfc5
jmp 0x1f8d2678
push 5
pop edx
cmp eax, 2
jne 0x1f8d282a
cmp ecx, edx
je 0x1f8d27ea
cmp dword [esi + 0x2b44], edx
jne 0x1f8d282a
mov edi, 0x1f872158
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d2804
push 0x1f872508
push edi
call fcn.1f8ccd14
mov edi, 0x1f871a48
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d281e
push 0x1f872508
push edi
call fcn.1f8ccd14
mov byte [esi + 0x201a], 0
jmp 0x1f8d2974
cmp ecx, 4
je 0x1f8d28d7
cmp ecx, edx
je 0x1f8d28d2
cmp ecx, 7
je 0x1f8d28d2
test ecx, ecx
je 0x1f8d28d2
cmp ecx, 3
jne 0x1f8d2974
mov edi, 0x1f872158
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d286f
push 0x1f8724ec
push edi
call fcn.1f8ccd14
mov edi, 0x1f871a48
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d2889
push 0x1f8724ec
push edi
call fcn.1f8ccd14
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x210], 0
je 0x1f8d28ae
mov ecx, esi
call fcn.1f8ce876
mov edi, eax
test edi, edi
jne 0x1f8d2ef2
mov ebx, 0x1f97b00c
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
add eax, 0x1f0
push eax
push 0
mov ecx, esi
call fcn.1f8cdf34
mov edi, eax
test edi, edi
je 0x1f8d2974
jmp 0x1f8d2ef2
cmp ecx, 4
jne 0x1f8d2907
mov edi, 0x1f872158
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d28f1
push 0x1f87251c
push edi
call fcn.1f8ccd14
mov edi, 0x1f871a48
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d2953
push 0x1f87251c
jmp 0x1f8d294d
cmp ecx, edx
jne 0x1f8d291d
mov edi, 0x1f872158
push edi
call fcn.1f8a76d7
mov ebx, 0x1f872508
jmp 0x1f8d2932
cmp ecx, 7
jne 0x1f8d2953
mov edi, 0x1f872158
push edi
call fcn.1f8a76d7
mov ebx, 0x1f872530
test al, al
je 0x1f8d293d
push ebx
push edi
call fcn.1f8ccd14
mov edi, 0x1f871a48
push edi
call fcn.1f8a76d7
test al, al
je 0x1f8d2953
push ebx
push edi
call fcn.1f8ccd14
mov ecx, esi
call fcn.1f8d0ac1
mov edi, eax
test edi, edi
jne 0x1f8d2ef2
cmp dword [ebp - 0x1c], eax
jne 0x1f8d296f
and dword [esi + 0x2b40], eax
mov ebx, 0x1f97b00c
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
test byte [eax + 0x1f0], 1
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
jne 0x1f8d29e9
cmp dword [eax + 0x200], 0
je 0x1f8d29e9
push 0xa0000000
push 0x50
push 0x1f879d10
push dword [esi + 0x22c4]
call edi
cmp eax, 1
je 0x1f8d29e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x109
jmp 0x1f8d2ee7
mov ecx, dword [esi + 0x2034]
test ecx, ecx
je 0x1f8d2a5c
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x20], edx
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1f8d29fb
sub eax, dword [ebp - 0x20]
push 0xa0000000
sar eax, 1
push eax
push ecx
push dword [esi + 0x22c4]
call edi
cmp eax, 1
je 0x1f8d2a5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x10a
jmp 0x1f8d2ee7
mov eax, dword [esi + 0x22d4]
test eax, eax
jne 0x1f8d2a8b
push dword [esi + 0x22b0]
mov edi, 0x54f
push edi
push 0x1f879d00
push 0x13c4
push 0x1f879448
call fcn.1f8a7bdf
jmp 0x1f8d2ef2
mov eax, dword [eax + 0x44]
mov ecx, SysReAllocString
cmp eax, ecx
jae 0x1f8d2aa4
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jae 0x1f8d2aa4
add eax, edx
test eax, eax
jg 0x1f8d2aa6
mov eax, ecx
push eax
push eax
push eax
push eax
push dword [esi + 0x22c4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
cmp eax, 1
je 0x1f8d2af9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x10b
jmp 0x1f8d2ee7
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
test byte [eax + 0x1f0], 1
jne 0x1f8d2b68
test dword [ebp + 8], 0x1000
je 0x1f8d2b68
push 0xa0000000
push 0x15
push 0x1f879cd4
push dword [esi + 0x22c4]
call edi
cmp eax, 1
je 0x1f8d2b68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x10c
jmp 0x1f8d2ee7
cmp byte [esi + 0x12], 0
push 0xa0000000
je 0x1f8d2bc9
push 0x30
push 0x1f879c70
push dword [esi + 0x22c4]
call edi
cmp eax, 1
je 0x1f8d2c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x10d
jmp 0x1f8d2ee7
push 0x2f
push 0x1f879c10
push dword [esi + 0x22c4]
call edi
cmp eax, 1
je 0x1f8d2c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, ebx
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x10e
jmp 0x1f8d2ee7
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
test byte [eax + 0x1f0], 1
jne 0x1f8d2dd3
cmp dword [eax + 0x17c], 2
je 0x1f8d2dd3
cmp byte [esi + 0xc], 0
jne 0x1f8d2dd3
cmp byte [esi + 0x201a], 0
je 0x1f8d2dd3
mov ecx, esi
call fcn.1f8cc10b
mov ebx, eax
mov dword [ebp + 0xc], ebx
mov byte [ebp - 1], 0
cmp ebx, 3
jne 0x1f8d2c82
push 0
push 0x54f
push 0x1f879c04
push 0x140f
push 0x1f879448
call fcn.1f8a7bdf
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f8d2cac
test dword [eax + 0x1c], 0x400
je 0x1f8d2cac
push 0x1f879438
push 0x10f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895ce3
lea edi, [esi + 0x22b8]
mov ecx, dword [edi]
test ecx, ecx
je 0x1f8d2cc6
cmp ecx, dword [esi + 0x22b4]
je 0x1f8d2cc6
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [edi], 0
cmp byte [esi + 0x12], 0
mov eax, 0x1f8749d4
jne 0x1f8d2cd9
mov eax, 0x1f8749cc
imul ebx, ebx, 0x3c
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x2b2c]
push dword [ebx + 0x1f97b1b0]
push dword [ebx + 0x1f97b1ac]
push eax
push edi
push dword [esi + 0x22b4]
lea eax, [esi + 0x2040]
push eax
call fcn.1f8ae104
mov edi, eax
test edi, edi
je 0x1f8d2d52
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f8d2d3a
test dword [eax + 0x1c], 0x200
je 0x1f8d2d3a
push edi
push 0x1f879438
push 0x110
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895d0a
mov ecx, esi
call fcn.1f8ccc8d
mov ecx, dword [esi + 0x22b0]
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
jmp 0x1f8d2ef2
cmp byte [ebp - 1], 0
je 0x1f8d2d60
mov eax, dword [ebx + 0x1f97b1e0]
jmp 0x1f8d2d66
mov eax, dword [ebx + 0x1f97b1d0]
cmp byte [ebp - 1], 0
je 0x1f8d2d74
mov ebx, dword [ebx + 0x1f97b1dc]
jmp 0x1f8d2d7a
mov ebx, dword [ebx + 0x1f97b1cc]
push 0xa0000000
push eax
push ebx
push dword [esi + 0x22c4]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
je 0x1f8d2dd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x111
jmp 0x1f8d2ee7
cmp byte [esi + 0x2b50], 0
je 0x1f8d2e3a
push 0xa0000000
push 0x20
push 0x1f879bc0
push dword [esi + 0x22c4]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
je 0x1f8d2e3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x112
jmp 0x1f8d2ee7
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f8d2e6e
test byte [eax + 0x1c], 0x40
je 0x1f8d2e6e
call fcn.1f8a96d5
push esi
push edx
push eax
mov eax, dword [0x1f97b00c]
push 0x1f879438
push 0x113
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f89707d
mov ecx, dword [esi + 0x22b8]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.1f8a831d
movzx eax, byte [esi + 0x201a]
neg eax
push esi
sbb eax, eax
and eax, dword [ebp - 8]
push eax
push eax
push dword [ebp - 0xc]
push edi
push edi
push dword [esi + 0x22c4]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, edi
jne 0x1f8d210e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x22b0]
mov edi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f8d2ef2
test dword [eax + 0x1c], 0x200
je 0x1f8d2ef2
push edi
push 0x1f879438
push 0x114
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895d0a
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
je 0x1f8d2f1d
mov eax, dword [esi + 0x22c4]
mov dword [esi + 0x22d8], ecx
test eax, eax
je 0x1f8d2f1d
mov eax, dword [ebp + 0x14]
mov byte [esi + 0x22ac], 1
cmp eax, ecx
je 0x1f8d2f1d
mov dword [eax], 1
mov byte [esi + 0x22a4], 0
cmp dword [ebp + 0x10], ecx
jne 0x1f8d2f40
mov eax, dword [esi + 0x22c4]
test eax, eax
jne 0x1f8d2f40
mov ecx, esi
mov dword [esi + 0x22e0], edi
call fcn.1f8cdc18
push edi
mov ecx, esi
call fcn.1f8d1734
mov eax, edi
jmp 0x1f8d2110