Function at 0x412c30
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x401e56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xdc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401640
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
call dword [sym.imp.MSVBVM60.DLL_rtcGetTimer]
fstp dword [ebp - 0x88]
mov dword [ebp - 0x90], 4
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 3
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 4
push 0
push 0x40afbc
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcCreateObject2]
push 0x40afdc
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 5
push 0x40b010
push 0x40aff0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x38]
push edx
call dword [ecx + 0x20]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x412d39
push 0x20
push 0x40afdc
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xd4], eax
jmp 0x412d43
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 6
push 0x40b010
push 0x40b028
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [eax + 0x20]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x412d91
push 0x20
push 0x40afdc
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xd8], eax
jmp 0x412d9b
mov dword [ebp - 0xd8], 0
mov dword [ebp - 4], 7
push 0x40a240
push 0x40ae64
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x38]
push eax
call dword [edx + 0x20]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x412de9
push 0x20
push 0x40afdc
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xdc], eax
jmp 0x412df3
mov dword [ebp - 0xdc], 0
mov dword [ebp - 4], 8
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax]
test ecx, ecx
jne 0x412e5c
mov dword [ebp - 4], 9
push 0x40b03c
push 0x40ac2c
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [eax + 0x20]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x412e52
push 0x20
push 0x40afdc
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xe0], eax
jmp 0x412e5c
mov dword [ebp - 0xe0], 0
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xa8], 0x80020004
mov dword [ebp - 0xb0], 0xa
mov dword [ebp - 0x98], 0x80020004
mov dword [ebp - 0xa0], 0xa
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x90], 0xb
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xb0]
mov dword [ecx], edx
mov eax, dword [ebp - 0xac]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 0xc], eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xa0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x98]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x94]
mov dword [ecx + 0xc], eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x90]
mov dword [ecx], edx
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x88]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x84]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0x40add0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x38]
push edx
call dword [ecx + 0x1c]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x412f74
push 0x1c
push 0x40afdc
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xe4], eax
jmp 0x412f7e
mov dword [ebp - 0xe4], 0
mov dword [ebp - 4], 0xc
push 0x40b03c
push 0x40ac2c
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [eax + 0x20]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x412fcc
push 0x20
push 0x40afdc
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xe8], eax
jmp 0x412fd6
mov dword [ebp - 0xe8], 0
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x88], 0x80020004
mov dword [ebp - 0x90], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x90]
mov dword [ecx], edx
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x88]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x84]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x38]
push eax
call dword [edx + 0x2c]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x41305d
push 0x2c
push 0x40afdc
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xec], eax
jmp 0x413067
mov dword [ebp - 0xec], 0
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x38]
push eax
call dword [edx + 0x4c]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x4130b2
push 0x4c
push 0x40afdc
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf0], eax
jmp 0x4130bc
mov dword [ebp - 0xf0], 0
cmp dword [ebp - 0xb4], 4
je 0x4130eb
mov dword [ebp - 4], 0xf
push 1
call fcn.0040a138
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x10
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
jmp 0x413067
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x38]
push eax
call dword [edx + 0x34]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x413136
push 0x34
push 0x40afdc
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf4], eax
jmp 0x413140
mov dword [ebp - 0xf4], 0
cmp dword [ebp - 0xb4], 0xc8
jne 0x4131bf
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x38]
push eax
call dword [edx + 0x40]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x413194
push 0x40
push 0x40afdc
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf8], eax
jmp 0x41319e
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0xd0]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
jmp 0x4131d1
mov dword [ebp - 4], 0x15
xor edx, edx
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [eax + 0x34]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x41321c
push 0x34
push 0x40afdc
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xfc], eax
jmp 0x413226
mov dword [ebp - 0xfc], 0
push 0
push 0x40aba0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x18
push 0x40afdc
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
wait
push 0x4132e9
jmp 0x4132cd
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret