Function at 0x466240
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.0040e9dc
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
mov dword [0x4848b8], 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.0047b500
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 0x466388
push 0xe0
push 0x40cc48
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 0x466392
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.0047a140
mov dword [ebp - 4], 0xc
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 0xd
call fcn.0040e9dc
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
sub eax, dword [0x4848b8]
mov dword [0x4848bc], eax
mov dword [ebp - 4], 0xe
cmp dword [0x4848bc], 0x190
jle 0x4664aa
mov dword [ebp - 4], 0xf
mov dword [0x4848bc], 0
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x2c], 0x3e19999a
mov dword [ebp - 4], 0x12
call fcn.0040e9dc
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x48]
mov dword [0x4848b8], ecx
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x64], 0xa
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x24], 0x14
jmp 0x4664fd
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 0x466823
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 0x466533
dec ecx
or ecx, 0xfffffffe
inc ecx
test ecx, ecx
jne 0x46654a
mov dword [ebp - 4], 0x16
fld dword [ebp - 0x2c]
fadd qword [0x402da0]
fstp dword [ebp - 0x2c]
mov dword [ebp - 4], 0x18
movsx edx, word [0x484632]
test edx, edx
jne 0x466751
movsx eax, word [0x484634]
test eax, eax
jne 0x466751
mov dword [ebp - 4], 0x19
mov ecx, dword [0x48462c]
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 0x4665c8
push 0xa4
push 0x4107c4
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 0x4665d2
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 [0x484648]
push ecx
fstp dword [esp]
fild dword [0x484644]
push ecx
fstp dword [esp]
push 0
push 0
call fcn.00479980
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.0047a830
mov dword [ebp - 4], 0x1d
push 0xc6fa0000
push 0xc6fa0000
push 0
push 0
call fcn.0047ce60
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 0x4666e2
push 0xa8
push 0x4107c4
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 0x4666ec
mov dword [ebp - 0xa4], 0
mov dword [ebp - 4], 0x1f
push 0
mov ecx, dword [0x48463c]
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 0x466734
push 0x44
push 0x4107c4
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 0x46673e
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.0040e9dc
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
sub eax, dword [0x4848b8]
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
mov ecx, 0x1f4
sub ecx, dword [0x4848bc]
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 0x4667cf
mov dword [ebp - 4], 0x24
mov dword [ebp - 0x48], 1
lea edx, [ebp - 0x48]
push edx
call fcn.0043fdd0
jmp 0x466761
mov dword [ebp - 4], 0x26
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 0x27
cmp word [0x4841e0], 0xffff
je 0x466815
cmp word [0x4842fa], 0xffff
je 0x466815
cmp word [0x4842fc], 0xffff
je 0x466815
cmp word [0x4842cc], 0xffff
je 0x466815
cmp word [0x48455c], 0xffff
jne 0x466817
jmp 0x466823
mov dword [ebp - 4], 0x2a
jmp 0x4664f4
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.0040e9dc
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
mov dword [0x4848b8], eax
mov dword [ebp - 4], 0x2e
mov dword [ebp - 0x6c], 0xe
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x24], 1
jmp 0x466887
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 0x466c0a
mov dword [ebp - 4], 0x2f
cmp word [0x4841e0], 0xffff
je 0x4668cc
cmp word [0x4842fa], 0xffff
je 0x4668cc
cmp word [0x4842fc], 0xffff
je 0x4668cc
cmp word [0x4842cc], 0xffff
je 0x4668cc
cmp word [0x48455c], 0xffff
jne 0x4668d1
jmp 0x466c0a
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.0x46691d
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov cl, byte [edx + 0x466c4c]
jmp dword [ecx*4 + 0x466c40]
mov dword [ebp - 4], 0x35
fld dword [ebp - 0x44]
fadd qword [0x404870]
fstp dword [ebp - 0x44]
jmp case.default.0x46691d
mov dword [ebp - 4], 0x37
fld dword [ebp - 0x44]
fsub qword [0x404870]
fstp dword [ebp - 0x44]
jmp case.default.0x46691d
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 0x46699b
mov dword [ebp - 4], 0x3d
mov dword [ebp - 0x2c], 0x3f800000
mov dword [ebp - 4], 0x3f
movsx eax, word [0x484632]
test eax, eax
jne 0x466b96
movsx ecx, word [0x484634]
test ecx, ecx
jne 0x466b96
mov dword [ebp - 4], 0x40
mov edx, dword [0x48462c]
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 0x466a19
push 0xa4
push 0x4107c4
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 0x466a23
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 [0x484648]
push ecx
fstp dword [esp]
fild dword [0x484644]
push ecx
fstp dword [esp]
push 0
push 0
call fcn.00479980
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.0047a830
mov dword [ebp - 4], 0x44
push 0xc6fa0000
push 0xc6fa0000
push 0
push 0
call fcn.0047ce60
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 0x466b27
push 0xa8
push 0x4107c4
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 0x466b31
mov dword [ebp - 0xc8], 0
mov dword [ebp - 4], 0x46
push 0
mov edx, dword [0x48463c]
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 0x466b79
push 0x44
push 0x4107c4
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 0x466b83
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.0040e9dc
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x48]
sub eax, dword [0x4848b8]
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 0x466bf1
mov dword [ebp - 4], 0x4a
mov dword [ebp - 0x48], 1
lea ecx, [ebp - 0x48]
push ecx
call fcn.0043fdd0
jmp 0x466b96
mov dword [ebp - 4], 0x4c
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 0x4d
jmp 0x46687e
wait
push 0x466c2d
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