Function at 0x1002cf11
Capabilities:
Check http status code

Disassembly:
push 0x3a4
mov eax, 0x10055579
call fcn.10051525
mov eax, dword [ebp + 8]
mov ecx, dword [0x10088ec0]
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3a4], ecx
push eax
lea ecx, [ebp - 0x36c]
call dword [0x10061e44]
xor ebx, ebx
lea esi, [ebp - 0x39c]
mov dword [ebp - 4], ebx
call fcn.1002af73
jmp 0x1002d160
xor edx, edx
cmp dword [ebp - 0x398], 3
jne 0x1002cf6a
push 3
pop ecx
jmp 0x1002cf8a
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x398], ecx
jne 0x1002d17d
cmp byte [0x10086368], bl
jne 0x1002d17d
mov edx, 0x8000000
mov eax, dword [ebp - 0x38c]
push ebx
push edx
push ecx
cmp dword [eax - 0xc], ebx
jne 0x1002cfbc
push ebx
push ebx
push dword [ebp - 0x390]
push dword [ebp - 0x394]
push dword [ebp - 0x3a4]
call dword [0x10089424]
mov esi, eax
mov dword [ebp - 0x374], esi
jmp 0x1002cfe3
push dword [ebp - 0x388]
push eax
push dword [ebp - 0x390]
push dword [ebp - 0x394]
push dword [ebp - 0x3a4]
call dword [0x10089424]
mov dword [ebp - 0x374], eax
mov esi, eax
cmp esi, ebx
je 0x1002d17d
push dword [ebp - 0x384]
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x37c], ebx
call dword [0x10061e44]
mov byte [ebp - 4], 2
push dword [ebp - 0x380]
lea ecx, [ebp - 0x370]
call dword [0x10061708]
cmp dword [ebp - 0x398], 3
jne 0x1002d1f2
push ebx
push 0xa0000000
push 0x1008636c
push ebx
push ebx
push dword [ebp - 0x370]
push str.HEAD
push esi
call dword [0x10089420]
mov edi, eax
cmp edi, ebx
je 0x1002d19f
mov dword [ebp - 0x3a0], ebx
mov dword [ebp - 0x3a8], 4
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x10089414]
test eax, eax
je 0x1002d1da
push ebx
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x3a0]
push eax
push 0x20000013
push edi
call dword [0x10089418]
test eax, eax
je 0x1002d1a6
mov eax, dword [ebp - 0x3a0]
cmp eax, 0x197
je 0x1002d0a9
cmp eax, 0x191
jne 0x1002d0e9
mov esi, dword [ebp - 0x3b0]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push edi
push 0x501
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0xffffffffffffffff
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [esi + 0x26]
test al, al
je 0x1002d1e3
mov esi, dword [ebp - 0x374]
jmp 0x1002d05f
cmp eax, 0x12e
je 0x1002d0fb
cmp eax, 0x12d
jne 0x1002d1b4
push ebx
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x21
push edi
mov dword [ebp - 0x3ac], 0x104
call dword [0x10089418]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x36c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push edi
call dword [0x1008940c]
push esi
mov dword [ebp - 0x378], ebx
call dword [0x1008940c]
lea ecx, [ebp - 0x370]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea esi, [ebp - 0x39c]
call fcn.1002afb5
call fcn.1002af73
mov byte [ebp - 4], 1
push dword [ebp - 0x36c]
lea edi, [ebp - 0x39c]
call fcn.1002afea
test al, al
jne 0x1002cf5a
lea esi, [ebp - 0x39c]
call fcn.1002afb5
lea ecx, [ebp - 0x36c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or eax, 0xffffffff
call fcn.100515a8
ret 8
push esi
call dword [0x1008940c]
lea ecx, [ebp - 0x370]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x1002d17d
cmp eax, 0xc8
jne 0x1002d1da
push ebx
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x37c]
push eax
push 0x20000005
push edi
call dword [0x10089418]
test eax, eax
jne 0x1002d231
push edi
call dword [0x1008940c]
jmp 0x1002d19f
push edi
call dword [0x1008940c]
push dword [ebp - 0x374]
jmp 0x1002d1a0
cmp dword [ebp - 0x398], 1
jne 0x1002d22b
push ebx
push 0x84000000
lea eax, [ebp - 0x368]
push eax
push dword [ebp - 0x370]
push esi
call dword [0x1008943c]
mov dword [ebp - 0x378], eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x348]
mov dword [ebp - 0x37c], eax
mov edi, dword [ebp - 0x378]
cmp edi, ebx
je 0x1002d23c
push edi
call dword [0x1008940c]
push esi
call dword [0x1008940c]
mov edi, dword [ebp - 0x37c]
lea ecx, [ebp - 0x370]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea esi, [ebp - 0x39c]
call fcn.1002afb5
lea ecx, [ebp - 0x36c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, edi
jmp 0x1002d197