Function at 0x1f8cd3f1
Capabilities:
Read http header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f8cd42d
test dword [eax + 0x1c], 0x400
je 0x1f8cd42d
push dword [ecx + 0x22dc]
push ecx
push 0x1f879438
push 0xa0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f89f5b3
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
lea ecx, [ebp + 0xb]
mov eax, 0x400
push ecx
push eax
mov dword [esi], ebx
mov dword [ebp - 0x18], eax
call sym.WsmSvc.DLL_public:_static_void____stdcall_WSManMemory::Alloc_unsigned_int__class_TestSystem::CallSite_const___enum_TestSystem::Mode_
mov edi, eax
test edi, edi
jne 0x1f8cd466
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x22b0]
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0xe
pop eax
jmp 0x1f8cd7f5
xor eax, eax
cmp byte [ebp + 0xc], bl
setne al
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push edi
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
push dword [eax + 0x22c4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
jne 0x1f8cd687
mov ecx, 0x1f87251c
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1f8cd4d0
test dx, dx
je 0x1f8cd4cc
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1f8cd4d0
add eax, 4
add ecx, 4
test dx, dx
jne 0x1f8cd4aa
xor eax, eax
jmp 0x1f8cd4d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1f8cd4e1
or dword [esi], 1
jmp 0x1f8cd67f
mov ebx, dword [sym.imp.msvcrt.dll_wcsncmp]
push 0xa
push 0x1f87969c
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x1f8cd522
mov ecx, dword [ebp - 0xc]
or dword [esi], 2
lea eax, [edi + 0x14]
push eax
call fcn.1f8cc144
mov ebx, eax
test ebx, ebx
je 0x1f8cd67f
lea eax, [ebp - 2]
push eax
push edi
call sym.WsmSvc.DLL_public:_static_void___stdcall_WSManMemory::Free_void___class_TestSystem::CallSite_const__
mov eax, ebx
jmp 0x1f8cd7f5
mov ecx, 0x1f872508
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1f8cd54f
test dx, dx
je 0x1f8cd54b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1f8cd54f
add eax, 4
add ecx, 4
test dx, dx
jne 0x1f8cd529
xor eax, eax
jmp 0x1f8cd554
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1f8cd560
or dword [esi], 4
jmp 0x1f8cd67f
push 9
push 0x1f879688
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x1f8cd58f
mov ecx, dword [ebp - 0xc]
or dword [esi], 8
lea eax, [edi + 0x12]
push eax
call fcn.1f8cc144
mov ebx, eax
test ebx, ebx
je 0x1f8cd67f
lea eax, [ebp - 3]
jmp 0x1f8cd514
push 6
push 0x1f879678
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x1f8cd67c
mov ecx, 0x1f8724fc
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1f8cd5d1
test dx, dx
je 0x1f8cd5cd
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1f8cd5d1
add eax, 4
add ecx, 4
test dx, dx
jne 0x1f8cd5ab
xor eax, eax
jmp 0x1f8cd5d6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1f8cd67c
push 7
push 0x1f879668
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x1f8cd5f7
or dword [esi], 0x20
jmp 0x1f8cd67f
push 0x42
push 0x1f8795e0
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x1f8cd60d
or dword [esi], 0x40
jmp 0x1f8cd67f
mov ecx, 0x1f872530
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1f8cd63a
test dx, dx
je 0x1f8cd636
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1f8cd63a
add eax, 4
add ecx, 4
test dx, dx
jne 0x1f8cd614
xor eax, eax
jmp 0x1f8cd63f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1f8cd64b
or dword [esi], 0x80
jmp 0x1f8cd67f
push 8
push 0x1f8795cc
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x1f8cd67f
mov ecx, dword [ebp - 0xc]
or dword [esi], 0x100
lea eax, [edi + 0x10]
push eax
call fcn.1f8cc144
mov ebx, eax
test ebx, ebx
je 0x1f8cd67f
lea eax, [ebp - 4]
jmp 0x1f8cd514
or dword [esi], 0x10
mov ebx, dword [ebp - 0x14]
jmp 0x1f8cd474
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1f8cd6c1
push 0
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
push edi
call sym.WsmSvc.DLL_public:_static_void____stdcall_WSManMemory::ReAlloc_void___unsigned_int__class_TestSystem::CallSite_const___enum_TestSystem::Mode_
test eax, eax
je 0x1f8cd6b2
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x1f8cd474
lea eax, [ebp - 5]
push eax
push edi
call sym.WsmSvc.DLL_public:_static_void___stdcall_WSManMemory::Free_void___class_TestSystem::CallSite_const__
jmp 0x1f8cd450
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x2f76
jne 0x1f8cd7ab
lea eax, [ebp - 6]
push eax
push edi
call sym.WsmSvc.DLL_public:_static_void___stdcall_WSManMemory::Free_void___class_TestSystem::CallSite_const__
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f8cd7a7
test dword [eax + 0x1c], 0x400
je 0x1f8cd7a7
mov edx, dword [esi]
mov ecx, 0x1f87388c
mov ebx, 0x1f8795b4
test dl, 0x40
jne 0x1f8cd70e
mov ebx, ecx
test dl, dl
js 0x1f8cd71d
mov dword [ebp + 8], ecx
test edx, 0x100
je 0x1f8cd724
mov dword [ebp + 8], 0x1f872530
mov dword [ebp - 0x18], ecx
test dl, 0xc
je 0x1f8cd733
mov dword [ebp - 0x18], 0x1f872508
mov dword [ebp - 0x14], ecx
test dl, 3
je 0x1f8cd742
mov dword [ebp - 0x14], 0x1f87251c
mov edi, 0x1f8724ec
test dl, 0x20
jne 0x1f8cd74e
mov edi, ecx
test dl, 0x10
je 0x1f8cd758
mov ecx, 0x1f8795a0
cmp byte [ebp + 0xc], 0
mov esi, 0x1f879594
jne 0x1f8cd768
mov esi, 0x1f879584
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x34]
cmp dword [edx + 0x17c], 2
mov edx, 0x1f879578
je 0x1f8cd784
mov edx, 0x1f87956c
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
push ecx
push esi
push edx
push 0x1f879438
push 0xa2
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f8cbb84
xor eax, eax
jmp 0x1f8cd7f5
call ebx
mov esi, eax
lea eax, [ebp - 7]
push eax
push edi
call sym.WsmSvc.DLL_public:_static_void___stdcall_WSManMemory::Free_void___class_TestSystem::CallSite_const__
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f8cd7e4
test dword [eax + 0x1c], 0x200
je 0x1f8cd7e4
push esi
push 0x1f879438
push 0xa1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895d0a
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x22b0]
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8