Function at 0x10007187
Capabilities:
Check http status code

Disassembly:
mov eax, 0x100139a7
call fcn.1000af08
sub esp, 0x84
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 4]
push dword [eax]
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, edi
call fcn.10007174
test eax, eax
jge 0x100071c8
mov ecx, edi
call fcn.10007174
push eax
call fcn.1000685e
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.10006e74
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
cmp dword [edi + 0x18], 1
mov byte [ebp - 4], 1
je 0x1000722e
push 0x3f
push dword [ebp - 0x18]
call fcn.1000b6ea
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x10007228
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x24]
call fcn.10006ea2
sub esi, dword [ebp - 0x18]
push dword [ebp - 0x18]
sar esi, 1
push esi
lea ecx, [ebp + 8]
call fcn.10006e42
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.10006f7b
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [edi + 0x18], 1
jne 0x10007237
mov dword [ebp - 0x1c], 0x100149d0
jmp 0x1000723e
mov dword [ebp - 0x1c], str.POST
mov ebx, 0x10018e20
mov esi, ebx
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or word [ebp - 0x3c], 0xffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x44], 0xb
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x44]
lea edi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ecx, 0xc
mov byte [ebp - 4], 3
movsd dword es:[edi], dword [esi]
mov dword [ebp + 8], ecx
call fcn.10006f65
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x18]
lea esi, [ebp - 0x84]
push dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x1c]
test eax, eax
jge 0x10007346
mov ecx, dword [ebp - 0x14]
xor eax, eax
inc eax
cmp dword [ecx + 0x18], eax
mov dword [ebp - 0x1c], 0x100149d0
je 0x100072d3
mov dword [ebp - 0x1c], str.POST
mov esi, ebx
lea edi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or word [ebp - 0x2c], 0xffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x34], 0xb
mov ecx, dword [ebp + 8]
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], eax
movsd dword es:[edi], dword [esi]
call fcn.10006f65
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x18]
lea esi, [ebp - 0x54]
push dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x1c]
push eax
call fcn.1000685e
pop ecx
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 3
je 0x10007361
and dword [ebp - 0x10], 0xfffffffe
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
mov esi, str.no_cache
push esi
mov edi, str.Pragma
push edi
push eax
call dword [ecx + 0x20]
test eax, eax
jge 0x100073a4
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
push esi
push edi
push eax
call dword [ecx + 0x20]
push eax
call fcn.1000685e
pop ecx
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
push esi
mov edi, str.Cache_Control
push edi
push eax
call dword [ecx + 0x20]
test eax, eax
jge 0x100073d4
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
push esi
push edi
push eax
call dword [ecx + 0x20]
push eax
call fcn.1000685e
pop ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jne 0x10007412
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
mov edi, str.application_x_www_form_urlencoded
push edi
mov esi, str.Content_Type
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jge 0x10007412
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
push edi
push esi
push eax
call dword [ecx + 0x20]
push eax
call fcn.1000685e
pop ecx
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov esi, dword [ebp - 0x14]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
test eax, eax
jge 0x1000743e
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
push eax
call fcn.1000685e
pop ecx
cmp dword [esi + 0x18], 1
jne 0x10007448
mov eax, ebx
jmp 0x10007478
and word [ebp - 0x34], 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
call fcn.10006fb3
or dword [ebp - 0x10], 2
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.10006ef9
or dword [ebp - 0x10], 4
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
mov esi, eax
lea edi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10006f65
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x2c]
test eax, eax
jge 0x10007513
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 1
jne 0x100074b2
mov eax, ebx
jmp 0x100074e3
and word [ebp - 0x44], 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x44]
call fcn.10006fb3
push 8
pop edi
or dword [ebp - 0x10], edi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 7
call fcn.10006ef9
or dword [ebp - 0x10], 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 8]
mov esi, eax
lea edi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10006f65
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x2c]
push eax
call fcn.1000685e
pop ecx
test byte [ebp - 0x10], 0x10
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 4], 7
je 0x1000753a
and dword [ebp - 0x10], 0xffffffef
lea eax, [ebp - 0x64]
push eax
call ebx
test eax, eax
jge 0x1000753a
push eax
call fcn.10009970
test byte [ebp - 0x10], 8
je 0x1000754a
and dword [ebp - 0x10], 0xfffffff7
lea eax, [ebp - 0x44]
push eax
call ebx
test byte [ebp - 0x10], 4
mov dword [ebp - 4], 5
je 0x1000756b
and dword [ebp - 0x10], 0xfffffffb
lea eax, [ebp - 0x54]
push eax
call ebx
test eax, eax
jge 0x1000756b
push eax
call fcn.10009970
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 1
je 0x1000757e
lea eax, [ebp - 0x34]
push eax
call ebx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 9
call fcn.10006f65
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push eax
call dword [ecx + 0x48]
cmp eax, 0x8000000a
mov esi, dword [ebp - 0x14]
jne 0x10007605
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
mov ebx, 0xff
jmp 0x100075ed
cmp eax, 2
jb 0x100075ff
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x100075ed
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x20]
push eax
push 2
call edi
cmp eax, 0xffffffff
jne 0x100075c3
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, esi
call fcn.10006f51
test al, al
jne 0x1000771a
and dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.10006f65
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push str.Content_Length
push eax
call dword [ecx + 0x24]
and word [ebp - 0x34], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.10006fb3
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.10006f65
mov ecx, dword [eax]
lea edi, [esi + 0x14]
push edi
push eax
call dword [ecx + 0x34]
test eax, eax
jge 0x10007674
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x34]
push eax
call fcn.1000685e
pop ecx
cmp dword [edi], 0xc8
jne 0x10007709
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
jge 0x100076af
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push eax
call dword [ecx + 0x48]
push eax
call fcn.1000685e
pop ecx
push dword [ebp - 0x6c]
lea ecx, [ebp + 8]
call fcn.10006fec
push dword [eax]
add esi, 0x10
push esi
call fcn.100038a1
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, edi
je 0x100076d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x13
push edi
lea eax, [ebp - 0x34]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jl 0x10007709
cmp dword [ebp - 0x2c], edi
je 0x10007709
push dword [esi]
call fcn.10006a89
cmp eax, dword [ebp - 0x2c]
pop ecx
mov dword [ebp - 0x1c], edx
je 0x10007709
mov eax, dword [esi]
cmp eax, edi
je 0x10007709
mov dword [esi], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x34]
push eax
call ebx
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007729
mov ecx, dword [ebp + 8]
call fcn.10006f65
mov ecx, eax
call fcn.10006f30
lea eax, [ebp - 0x74]
push eax
call ebx
push dword [ebp - 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4