Function at 0x465e20
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x407016
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], 0x404700
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.0040e9ec
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
mov dword [0x4848bc], 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.0047b0e0
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 0x465f68
push 0xe0
push 0x40e1a0
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 0x465f72
mov dword [ebp - 0x88], 0
push 4
mov edx, 2
sub edx, 1
mov eax, dword [0x48435c]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x484340]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x484324]
mov ecx, dword [eax + edx*4]
push ecx
push 0
mov edx, 2
sub edx, 1
mov eax, dword [0x4843e8]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x484404]
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 [0x484420]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x4843b0]
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 [0x484394]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, 2
sub edx, 1
mov eax, dword [0x4843cc]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00479d20
mov dword [ebp - 4], 0xc
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 0xd
call fcn.0040e9ec
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
sub eax, dword [0x4848bc]
mov dword [0x4848c0], eax
mov dword [ebp - 4], 0xe
cmp dword [0x4848c0], 0x190
jle 0x46608a
mov dword [ebp - 4], 0xf
mov dword [0x4848c0], 0
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x2c], 0x3e19999a
mov dword [ebp - 4], 0x12
call fcn.0040e9ec
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x48]
mov dword [0x4848bc], ecx
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x64], 0xa
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x24], 0x14
jmp 0x4660dd
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 0x466403
mov dword [ebp - 4], 0x14
fild dword [ebp - 0x24]
fdiv qword [0x401330]
fstp dword [ebp - 0x44]
mov dword [ebp - 4], 0x15
mov ecx, dword [ebp - 0x3c]
and ecx, 0x80000001
jns 0x466113
dec ecx
or ecx, 0xfffffffe
inc ecx
test ecx, ecx
jne 0x46612a
mov dword [ebp - 4], 0x16
fld dword [ebp - 0x2c]
fadd qword [0x402da0]
fstp dword [ebp - 0x2c]
mov dword [ebp - 4], 0x18
movsx edx, word [0x484636]
test edx, edx
jne 0x466331
movsx eax, word [0x484638]
test eax, eax
jne 0x466331
mov dword [ebp - 4], 0x19
mov ecx, dword [0x484630]
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 0x4661a8
push 0xa4
push 0x41070c
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 0x4661b2
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0x1b
push 0
push 0
push 0
push 0
push 0
push 0xff
push 1
fild dword [0x48464c]
push ecx
fstp dword [esp]
fild dword [0x484648]
push ecx
fstp dword [esp]
push 0
push 0
call fcn.00479560
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 [0x4024b4]
fsub dword [ebp - 0x2c]
fmulp st(1)
fdiv qword [0x402480]
faddp st(1)
fst dword [ebp - 0x9c]
push ecx
fstp dword [esp]
fild dword [ebp - 0x38]
fild dword [ebp - 0x40]
fmul qword [0x402d80]
fsubp st(1)
fst dword [ebp - 0xa0]
push ecx
fstp dword [esp]
call fcn.0047a410
mov dword [ebp - 4], 0x1d
push 0xc6fa0000
push 0xc6fa0000
push 0
push 0
call fcn.0047ca40
mov dword [ebp - 4], 0x1e
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 0x4662c2
push 0xa8
push 0x41070c
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 0x4662cc
mov dword [ebp - 0xa4], 0
mov dword [ebp - 4], 0x1f
push 0
mov ecx, dword [0x484640]
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 0x466314
push 0x44
push 0x41070c
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 0x46631e
mov dword [ebp - 0xa8], 0
mov dword [ebp - 4], 0x20
push 0
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x22
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0x23
call fcn.0040e9ec
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
sub eax, dword [0x4848bc]
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
mov ecx, 0x1f4
sub ecx, dword [0x4848c0]
mov dword [ebp - 0xb0], ecx
fild dword [ebp - 0xb0]
fdivp st(1)
fild dword [ebp - 0x3c]
fdiv qword [0x4043a8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4663af
mov dword [ebp - 4], 0x24
mov dword [ebp - 0x48], 1
lea edx, [ebp - 0x48]
push edx
call fcn.0043f810
jmp 0x466341
mov dword [ebp - 4], 0x26
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 0x27
cmp word [0x4841e0], 0xffff
je 0x4663f5
cmp word [0x4842fa], 0xffff
je 0x4663f5
cmp word [0x4842fc], 0xffff
je 0x4663f5
cmp word [0x4842cc], 0xffff
je 0x4663f5
cmp word [0x48455c], 0xffff
jne 0x4663f7
jmp 0x466403
mov dword [ebp - 4], 0x2a
jmp 0x4660d4
mov dword [ebp - 4], 0x2b
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0x2c
fld qword [0x402d80]
fchs
fstp dword [ebp - 0x44]
mov dword [ebp - 4], 0x2d
call fcn.0040e9ec
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
mov dword [0x4848bc], eax
mov dword [ebp - 4], 0x2e
mov dword [ebp - 0x6c], 0xe
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x24], 1
jmp 0x466467
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 0x4667ea
mov dword [ebp - 4], 0x2f
cmp word [0x4841e0], 0xffff
je 0x4664ac
cmp word [0x4842fa], 0xffff
je 0x4664ac
cmp word [0x4842fc], 0xffff
je 0x4664ac
cmp word [0x4842cc], 0xffff
je 0x4664ac
cmp word [0x48455c], 0xffff
jne 0x4664b1
jmp 0x4667ea
mov dword [ebp - 4], 0x32
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x33
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.0x4664fd
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov cl, byte [edx + 0x46682c]
jmp dword [ecx*4 + 0x466820]
mov dword [ebp - 4], 0x35
fld dword [ebp - 0x44]
fadd qword [0x404870]
fstp dword [ebp - 0x44]
jmp case.default.0x4664fd
mov dword [ebp - 4], 0x37
fld dword [ebp - 0x44]
fsub qword [0x404870]
fstp dword [ebp - 0x44]
jmp case.default.0x4664fd
mov dword [ebp - 4], 0x39
fld dword [ebp - 0x44]
fadd qword [0x404870]
fstp dword [ebp - 0x44]
mov dword [ebp - 4], 0x3b
fld dword [ebp - 0x2c]
fadd qword [0x404868]
fstp dword [ebp - 0x2c]
mov dword [ebp - 4], 0x3c
fld dword [ebp - 0x2c]
fcomp dword [0x4024b4]
fnstsw ax
test ah, 0x41
jne 0x46657b
mov dword [ebp - 4], 0x3d
mov dword [ebp - 0x2c], 0x3f800000
mov dword [ebp - 4], 0x3f
movsx eax, word [0x484636]
test eax, eax
jne 0x466776
movsx ecx, word [0x484638]
test ecx, ecx
jne 0x466776
mov dword [ebp - 4], 0x40
mov edx, dword [0x484630]
push edx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x41
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 0x4665f9
push 0xa4
push 0x41070c
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 0x466603
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 0x42
push 0
push 0
push 0
push 0
push 0
push 0xff
push 1
fild dword [0x48464c]
push ecx
fstp dword [esp]
fild dword [0x484648]
push ecx
fstp dword [esp]
push 0
push 0
call fcn.00479560
mov dword [ebp - 4], 0x43
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 [0x4024b4]
fsub dword [ebp - 0x2c]
fmulp st(1)
fdiv qword [0x402480]
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.0047a410
mov dword [ebp - 4], 0x44
push 0xc6fa0000
push 0xc6fa0000
push 0
push 0
call fcn.0047ca40
mov dword [ebp - 4], 0x45
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 0x466707
push 0xa8
push 0x41070c
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 0x466711
mov dword [ebp - 0xc8], 0
mov dword [ebp - 4], 0x46
push 0
mov edx, dword [0x484640]
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 0x466759
push 0x44
push 0x41070c
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 0x466763
mov dword [ebp - 0xcc], 0
mov dword [ebp - 4], 0x47
push 0
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x49
call fcn.0040e9ec
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
sub eax, dword [0x4848bc]
mov dword [ebp - 0xd0], eax
fild dword [ebp - 0xd0]
fdiv qword [0x404860]
fild dword [ebp - 0x3c]
fdiv qword [0x404858]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4667d1
mov dword [ebp - 4], 0x4a
mov dword [ebp - 0x48], 1
lea ecx, [ebp - 0x48]
push ecx
call fcn.0043f810
jmp 0x466776
mov dword [ebp - 4], 0x4c
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 0x4d
jmp 0x46645e
wait
push 0x46680d
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