Function at 0x46b8f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403a66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x538
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4014f0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
push 3
push 0x411750
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
push 0
push 0xf
call fcn.0040fa0c
mov dword [ebp - 0x2e8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x28c], 0x128
mov dword [ebp - 4], 5
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x414]
push eax
push 0x40f46c
call dword [sym.imp.MSVBVM60.DLL___vbaRecUniToAnsi]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0040fa54
mov dword [ebp - 0x2e8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0x40f46c
call dword [sym.imp.MSVBVM60.DLL___vbaRecAnsiToUni]
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 6
cmp dword [ebp - 0x34], 0
je 0x46bedc
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x284]
push edx
push 0
push 0x410
call fcn.0040fb2c
mov dword [ebp - 0x2e8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 8
cmp dword [ebp - 0x24], 0
je 0x46be64
mov dword [ebp - 4], 9
mov ecx, 1
sub ecx, 1
mov dword [ebp - 0x2ec], ecx
cmp dword [ebp - 0x2ec], 0xc8
jae 0x46ba61
mov dword [ebp - 0x554], 0
jmp 0x46ba6d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x554], eax
lea edx, [ebp - 0x30]
push edx
push 0xc8
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040fc24
mov dword [ebp - 0x2e8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x2c], 0
je 0x46be64
mov dword [ebp - 4], 0xb
push 0x104
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcSpaceVar]
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xc
mov ecx, 1
sub ecx, 1
mov dword [ebp - 0x2ec], ecx
cmp dword [ebp - 0x2ec], 0xc8
jae 0x46bb1c
mov dword [ebp - 0x558], 0
jmp 0x46bb28
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x558], eax
push 0x1f4
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0040fbd8
mov dword [ebp - 0x2e8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x290]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x290]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0xd
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 0x2d4], 0x4008
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2d4]
push ecx
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2d4], 0x4008
lea edx, [ebp - 0x2d4]
push edx
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
push 0
push 0xffffffffffffffff
push 1
push 0x40ec5c
push 0x411720
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x290]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x290]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xf
push 0xc
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2a4], 8
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x2b4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
mov dword [ebp - 0x2cc], 0x411730
mov dword [ebp - 0x2d4], 0x8008
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2d4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov word [ebp - 0x2ec], ax
lea edx, [ebp - 0x2b4]
push edx
lea eax, [ebp - 0x2a4]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx ecx, word [ebp - 0x2ec]
test ecx, ecx
je 0x46bd6e
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x29c], 0x80020004
mov dword [ebp - 0x2a4], 0xa
call fcn.0046e720
mov edx, eax
lea ecx, [ebp - 0x290]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
lea edx, [ebp - 0x2a4]
push edx
push 0xc
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x294]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x294]
push ecx
lea edx, [ebp - 0x290]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x58]
push eax
push 0x40ec5c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x46be64
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2d4], 0x4008
push 7
lea edx, [ebp - 0x2d4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcDir]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x14
lea eax, [ebp - 0x54]
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2d4], 0x4008
lea ecx, [ebp - 0x2d4]
push ecx
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLowerCaseVar]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2e4], 0x4008
lea ecx, [ebp - 0x2e4]
push ecx
lea edx, [ebp - 0x2b4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLowerCaseVar]
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov word [ebp - 0x2ec], ax
lea edx, [ebp - 0x2b4]
push edx
lea eax, [ebp - 0x2a4]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx ecx, word [ebp - 0x2ec]
test ecx, ecx
je 0x46be64
mov dword [ebp - 4], 0x15
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], 0x1a
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x53c]
push ecx
push 0x40f46c
call dword [sym.imp.MSVBVM60.DLL___vbaRecUniToAnsi]
push eax
mov edx, dword [ebp - 0x5c]
push edx
call fcn.0040fa9c
mov dword [ebp - 0x2e8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x53c]
push eax
lea ecx, [ebp - 0x28c]
push ecx
push 0x40f46c
call dword [sym.imp.MSVBVM60.DLL___vbaRecAnsiToUni]
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0x1b
cmp dword [ebp - 0x60], 0
jle 0x46bed7
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x34], 0
jmp 0x46b9e3
mov dword [ebp - 4], 0x1f
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0040fc68
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x46bf67
jmp 0x46bf33
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x2e8], eax
lea ecx, [ebp - 0x2e8]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret