Function at 0x4655e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x406e76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xb0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x404698
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.0040de4c
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
mov dword [0x480820], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
fld dword [edx]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x5c]
fld dword [eax + 4]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x5c]
fld dword [ecx + 8]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0x5c]
fld dword [edx + 0xc]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 9
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xa
call fcn.0047a850
mov dword [ebp - 4], 0xb
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x4c]
push edx
call dword [ecx + 0xe0]
fnclex
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jge 0x465728
push 0xe0
push 0x40ee84
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x88], eax
jmp 0x465732
mov dword [ebp - 0x88], 0
push 4
mov edx, 2
sub edx, 1
mov eax, dword [0x48023c]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x480220]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x480204]
mov ecx, dword [eax + edx*4]
push ecx
push 0
mov edx, 2
sub edx, 1
mov eax, dword [0x4802c8]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x4802e4]
fild dword [eax + edx*4]
fmul dword [ebp + 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x480300]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x480290]
fild dword [eax + edx*4]
fmul dword [ebp + 0x14]
fst dword [ebp - 0x8c]
push ecx
fstp dword [esp]
mov ecx, 2
sub ecx, 1
mov edx, dword [0x480274]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x4802ac]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00479410
mov dword [ebp - 4], 0xc
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 0xd
call fcn.0040de4c
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
sub eax, dword [0x480820]
mov dword [0x480824], eax
mov dword [ebp - 4], 0xe
cmp dword [0x480824], 0x190
jle 0x46584a
mov dword [ebp - 4], 0xf
mov dword [0x480824], 0
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x2c], 0x3e19999a
mov dword [ebp - 4], 0x12
call fcn.0040de4c
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x48]
mov dword [0x480820], ecx
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x64], 0xa
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x24], 0x14
jmp 0x46589d
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x60]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x64]
jl 0x465bbb
mov dword [ebp - 4], 0x14
fild dword [ebp - 0x24]
fdiv qword [0x401340]
fstp dword [ebp - 0x44]
mov dword [ebp - 4], 0x15
mov ecx, dword [ebp - 0x3c]
and ecx, 0x80000001
jns 0x4658d3
dec ecx
or ecx, 0xfffffffe
inc ecx
test ecx, ecx
jne 0x4658ea
mov dword [ebp - 4], 0x16
fld dword [ebp - 0x2c]
fadd qword [0x402c88]
fstp dword [ebp - 0x2c]
mov dword [ebp - 4], 0x18
movsx edx, word [0x48059a]
test edx, edx
jne 0x465ae9
movsx eax, word [0x48059c]
test eax, eax
jne 0x465ae9
mov dword [ebp - 4], 0x19
mov ecx, dword [0x480594]
push ecx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x1a
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x54]
push edx
call dword [ecx + 0xa4]
fnclex
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x465968
push 0xa4
push 0x410088
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x90], eax
jmp 0x465972
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0x1b
fild dword [ebp - 0x34]
push ecx
fstp dword [esp]
fild dword [0x4805ac]
push ecx
fstp dword [esp]
fild dword [ebp - 0x30]
push ecx
fstp dword [esp]
push 0
push 0xff
push 1
fild dword [ebp - 0x34]
push ecx
fstp dword [esp]
fild dword [0x4805ac]
push ecx
fstp dword [esp]
fild dword [ebp - 0x30]
push ecx
fstp dword [esp]
push 0
call fcn.00478c70
mov dword [ebp - 4], 0x1c
fild dword [ebp - 0x34]
push ecx
fstp dword [esp]
fild dword [ebp - 0x40]
push ecx
fstp dword [esp]
push 0
push 0
push 0xff
push 4
fild dword [ebp - 0x34]
fmul dword [ebp - 0x2c]
fst dword [ebp - 0x94]
push ecx
fstp dword [esp]
fild dword [ebp - 0x40]
fmul dword [ebp - 0x44]
fst dword [ebp - 0x98]
push ecx
fstp dword [esp]
fild dword [ebp - 0x30]
fild dword [ebp - 0x34]
fld dword [0x402404]
fsub dword [ebp - 0x2c]
fmulp st(1)
fdiv qword [0x4023c8]
faddp st(1)
fst dword [ebp - 0x9c]
push ecx
fstp dword [esp]
fild dword [ebp - 0x38]
fild dword [ebp - 0x40]
fmul qword [0x402c68]
fsubp st(1)
fst dword [ebp - 0xa0]
push ecx
fstp dword [esp]
call fcn.00479b00
mov dword [ebp - 4], 0x1d
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [eax + 0xa8]
fnclex
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x465a7a
push 0xa8
push 0x410088
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xa4], eax
jmp 0x465a84
mov dword [ebp - 0xa4], 0
mov dword [ebp - 4], 0x1e
push 0
mov ecx, dword [0x4805a4]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [eax + 0x44]
fnclex
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x465acc
push 0x44
push 0x410088
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xa8], eax
jmp 0x465ad6
mov dword [ebp - 0xa8], 0
mov dword [ebp - 4], 0x1f
push 0
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x21
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0x22
call fcn.0040de4c
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
sub eax, dword [0x480820]
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
mov ecx, 0x1f4
sub ecx, dword [0x480824]
mov dword [ebp - 0xb0], ecx
fild dword [ebp - 0xb0]
fdivp st(1)
fild dword [ebp - 0x3c]
fdiv qword [0x404348]
fcompp
fnstsw ax
test ah, 0x41
jne 0x465b67
mov dword [ebp - 4], 0x23
mov dword [ebp - 0x48], 1
lea edx, [ebp - 0x48]
push edx
call fcn.0043cc80
jmp 0x465af9
mov dword [ebp - 4], 0x25
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 0x26
cmp word [0x4800d0], 0xffff
je 0x465bad
cmp word [0x4801da], 0xffff
je 0x465bad
cmp word [0x4801dc], 0xffff
je 0x465bad
cmp word [0x4801ac], 0xffff
je 0x465bad
cmp word [0x48043c], 0xffff
jne 0x465baf
jmp 0x465bbb
mov dword [ebp - 4], 0x29
jmp 0x465894
mov dword [ebp - 4], 0x2a
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0x2b
fld qword [0x402c68]
fchs
fstp dword [ebp - 0x44]
mov dword [ebp - 4], 0x2c
call fcn.0040de4c
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
mov dword [0x480820], eax
mov dword [ebp - 4], 0x2d
mov dword [ebp - 0x6c], 0xe
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x24], 1
jmp 0x465c1f
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x68]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x6c]
jg 0x465f9a
mov dword [ebp - 4], 0x2e
cmp word [0x4800d0], 0xffff
je 0x465c64
cmp word [0x4801da], 0xffff
je 0x465c64
cmp word [0x4801dc], 0xffff
je 0x465c64
cmp word [0x4801ac], 0xffff
je 0x465c64
cmp word [0x48043c], 0xffff
jne 0x465c69
jmp 0x465f9a
mov dword [ebp - 4], 0x31
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x32
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
sub eax, 1
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xd
ja case.default.0x465cb5
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov cl, byte [edx + 0x465fdc]
jmp dword [ecx*4 + 0x465fd0]
mov dword [ebp - 4], 0x34
fld dword [ebp - 0x44]
fadd qword [0x404800]
fstp dword [ebp - 0x44]
jmp case.default.0x465cb5
mov dword [ebp - 4], 0x36
fld dword [ebp - 0x44]
fsub qword [0x404800]
fstp dword [ebp - 0x44]
jmp case.default.0x465cb5
mov dword [ebp - 4], 0x38
fld dword [ebp - 0x44]
fadd qword [0x404800]
fstp dword [ebp - 0x44]
mov dword [ebp - 4], 0x3a
fld dword [ebp - 0x2c]
fadd qword [0x4047f8]
fstp dword [ebp - 0x2c]
mov dword [ebp - 4], 0x3b
fld dword [ebp - 0x2c]
fcomp dword [0x402404]
fnstsw ax
test ah, 0x41
jne 0x465d33
mov dword [ebp - 4], 0x3c
mov dword [ebp - 0x2c], 0x3f800000
mov dword [ebp - 4], 0x3e
movsx eax, word [0x48059a]
test eax, eax
jne 0x465f26
movsx ecx, word [0x48059c]
test ecx, ecx
jne 0x465f26
mov dword [ebp - 4], 0x3f
mov edx, dword [0x480594]
push edx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x40
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x58]
push eax
call dword [edx + 0xa4]
fnclex
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x465db1
push 0xa4
push 0x410088
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xb8], eax
jmp 0x465dbb
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 0x41
fild dword [ebp - 0x34]
push ecx
fstp dword [esp]
fild dword [0x4805ac]
push ecx
fstp dword [esp]
fild dword [ebp - 0x30]
push ecx
fstp dword [esp]
push 0
push 0xff
push 1
fild dword [ebp - 0x34]
push ecx
fstp dword [esp]
fild dword [0x4805ac]
push ecx
fstp dword [esp]
fild dword [ebp - 0x30]
push ecx
fstp dword [esp]
push 0
call fcn.00478c70
mov dword [ebp - 4], 0x42
fild dword [ebp - 0x34]
push ecx
fstp dword [esp]
fild dword [ebp - 0x40]
push ecx
fstp dword [esp]
push 0
push 0
push 0xff
push 4
fild dword [ebp - 0x34]
fmul dword [ebp - 0x2c]
fst dword [ebp - 0xbc]
push ecx
fstp dword [esp]
fild dword [ebp - 0x40]
push ecx
fstp dword [esp]
fild dword [ebp - 0x30]
fild dword [ebp - 0x34]
fld dword [0x402404]
fsub dword [ebp - 0x2c]
fmulp st(1)
fdiv qword [0x4023c8]
faddp st(1)
fst dword [ebp - 0xc0]
push ecx
fstp dword [esp]
fild dword [ebp - 0x38]
fild dword [ebp - 0x40]
fmul dword [ebp - 0x44]
faddp st(1)
fst dword [ebp - 0xc4]
push ecx
fstp dword [esp]
call fcn.00479b00
mov dword [ebp - 4], 0x43
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x58]
push edx
call dword [ecx + 0xa8]
fnclex
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x465eb7
push 0xa8
push 0x410088
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xc8], eax
jmp 0x465ec1
mov dword [ebp - 0xc8], 0
mov dword [ebp - 4], 0x44
push 0
mov edx, dword [0x4805a4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x58]
push edx
call dword [ecx + 0x44]
fnclex
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x465f09
push 0x44
push 0x410088
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xcc], eax
jmp 0x465f13
mov dword [ebp - 0xcc], 0
mov dword [ebp - 4], 0x45
push 0
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x47
call fcn.0040de4c
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
sub eax, dword [0x480820]
mov dword [ebp - 0xd0], eax
fild dword [ebp - 0xd0]
fdiv qword [0x4047f0]
fild dword [ebp - 0x3c]
fdiv qword [0x4047e8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x465f81
mov dword [ebp - 4], 0x48
mov dword [ebp - 0x48], 1
lea ecx, [ebp - 0x48]
push ecx
call fcn.0043cc80
jmp 0x465f26
mov dword [ebp - 4], 0x4a
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 0x4b
jmp 0x465c16
wait
push 0x465fbd
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret