Function at 0x1002c5ae
Capabilities:
Check http status code

Disassembly:
push 0x3a4
mov eax, 0x1005d48d
call fcn.10059743
mov eax, dword [ebp + 8]
mov ecx, dword [0x100ab088]
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3a4], ecx
push eax
lea ecx, [ebp - 0x36c]
call dword [0x1006ce70]
xor ebx, ebx
lea esi, [ebp - 0x39c]
mov dword [ebp - 4], ebx
call fcn.1002a610
jmp 0x1002c7fd
xor edx, edx
cmp dword [ebp - 0x398], 3
jne 0x1002c607
push 3
pop ecx
jmp 0x1002c627
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x398], ecx
jne 0x1002c81a
cmp byte [0x100a83b4], bl
jne 0x1002c81a
mov edx, 0x8000000
mov eax, dword [ebp - 0x38c]
push ebx
push edx
push ecx
cmp dword [eax - 0xc], ebx
jne 0x1002c659
push ebx
push ebx
push dword [ebp - 0x390]
push dword [ebp - 0x394]
push dword [ebp - 0x3a4]
call dword [0x100ab5fc]
mov esi, eax
mov dword [ebp - 0x374], esi
jmp 0x1002c680
push dword [ebp - 0x388]
push eax
push dword [ebp - 0x390]
push dword [ebp - 0x394]
push dword [ebp - 0x3a4]
call dword [0x100ab5fc]
mov dword [ebp - 0x374], eax
mov esi, eax
cmp esi, ebx
je 0x1002c81a
push dword [ebp - 0x384]
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x37c], ebx
call dword [0x1006ce70]
mov byte [ebp - 4], 2
push dword [ebp - 0x380]
lea ecx, [ebp - 0x370]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
cmp dword [ebp - 0x398], 3
jne 0x1002c88f
push ebx
push 0xa0000000
push 0x100a83b8
push ebx
push ebx
push dword [ebp - 0x370]
push str.HEAD
push esi
call dword [0x100ab5f8]
mov edi, eax
cmp edi, ebx
je 0x1002c83c
mov dword [ebp - 0x3a0], ebx
mov dword [ebp - 0x3a8], 4
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x100ab5ec]
test eax, eax
je 0x1002c877
push ebx
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x3a0]
push eax
push 0x20000013
push edi
call dword [0x100ab5f0]
test eax, eax
je 0x1002c843
mov eax, dword [ebp - 0x3a0]
cmp eax, 0x197
je 0x1002c746
cmp eax, 0x191
jne 0x1002c786
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 0x1002c880
mov esi, dword [ebp - 0x374]
jmp 0x1002c6fc
cmp eax, 0x12e
je 0x1002c798
cmp eax, 0x12d
jne 0x1002c851
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 [0x100ab5f0]
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 [0x100ab5e4]
push esi
mov dword [ebp - 0x378], ebx
call dword [0x100ab5e4]
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.1002a652
call fcn.1002a610
mov byte [ebp - 4], 1
push dword [ebp - 0x36c]
lea edi, [ebp - 0x39c]
call fcn.1002a687
test al, al
jne 0x1002c5f7
lea esi, [ebp - 0x39c]
call fcn.1002a652
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.100597c6
ret 8
push esi
call dword [0x100ab5e4]
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 0x1002c81a
cmp eax, 0xc8
jne 0x1002c877
push ebx
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x37c]
push eax
push 0x20000005
push edi
call dword [0x100ab5f0]
test eax, eax
jne 0x1002c8ce
push edi
call dword [0x100ab5e4]
jmp 0x1002c83c
push edi
call dword [0x100ab5e4]
push dword [ebp - 0x374]
jmp 0x1002c83d
cmp dword [ebp - 0x398], 1
jne 0x1002c8c8
push ebx
push 0x84000000
lea eax, [ebp - 0x368]
push eax
push dword [ebp - 0x370]
push esi
call dword [0x100ab614]
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 0x1002c8d9
push edi
call dword [0x100ab5e4]
push esi
call dword [0x100ab5e4]
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.1002a652
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 0x1002c834