Function at 0x406b50
Capabilities:
Check http status code

Disassembly:
jmp dword [sym.imp.MSVBVM60.DLL___vbaFPException]
push ebp
mov ebp, esp
sub esp, 0x18
push 0x401326
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x114
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401240
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 3
push 0x405390
lea eax, [ebp - 0x58]
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
mov dword [ebp - 0x64], 8
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0x60
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x2c]
jg 0x406d1f
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x64]
imul edx, edx, 2
jo 0x407180
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 7
push 0
fild dword [ebp - 0x64]
fstp qword [ebp - 0x114]
fld qword [ebp - 0x114]
cmp dword [section..data], 0
jne 0x406c2f
fdiv qword [0x4012d8]
jmp 0x406c40
push dword [0x4012dc]
push dword [0x4012d8]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40717b
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
push eax
push 1
push 3
lea eax, [ebp - 0x70]
push eax
push 4
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
cmp dword [ebp - 0x74], 0
je 0x406cd5
mov eax, dword [ebp - 0x74]
cmp word [eax], 1
jne 0x406cd5
mov ecx, dword [ebp - 0x74]
mov edx, 1
sub edx, dword [ecx + 0x14]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [eax + 0x10]
jae 0x406cb8
mov dword [ebp - 0x118], 0
jmp 0x406cc4
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0xf0]
shl edx, 2
mov dword [ebp - 0x11c], edx
jmp 0x406ce1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 0x11c]
push eax
call fcn.00404dac
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x60], edx
jmp 0x406bdd
mov dword [ebp - 4], 0xa
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x124]
fld qword [ebp - 0x124]
cmp dword [section..data], 0
jne 0x406d46
fdiv qword [0x4012d8]
jmp 0x406d57
push dword [0x4012dc]
push dword [0x4012d8]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40717b
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0x24], 1
jmp 0x406d9f
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0xf4]
jo 0x407180
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0xf8]
jg 0x4070ee
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x70], 0
je 0x406e0a
mov eax, dword [ebp - 0x70]
cmp word [eax], 1
jne 0x406e0a
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x24]
sub edx, dword [ecx + 0x14]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [eax + 0x10]
jae 0x406ded
mov dword [ebp - 0x128], 0
jmp 0x406df9
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0xf0]
shl edx, 2
mov dword [ebp - 0x12c], edx
jmp 0x406e16
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x12c]
mov eax, dword [ecx + edx]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0x410
call fcn.00404d54
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0xe
cmp dword [ebp - 0x3c], 0
je 0x4070bd
mov dword [ebp - 4], 0xf
mov eax, 1
sub eax, 1
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0xc8
jae 0x406e92
mov dword [ebp - 0x130], 0
jmp 0x406e9e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x68]
push ecx
push 0xc8
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00404e48
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0x10
cmp dword [ebp - 0x60], 0
je 0x4070bd
mov dword [ebp - 4], 0x11
push 0x104
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcSpaceVar]
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x6c], 0x1f4
mov dword [ebp - 4], 0x13
mov eax, 1
sub eax, 1
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0xc8
jae 0x406f5b
mov dword [ebp - 0x134], 0
jmp 0x406f67
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00404dfc
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x78]
push edx
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x14
lea edx, [ebp - 0x40]
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xc8], 0x4008
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xd8], 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe8], 0x8002
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xd8]
push ecx
push 1
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCompVar]
push eax
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov word [ebp - 0xf0], ax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x88]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
movsx ecx, word [ebp - 0xf0]
test ecx, ecx
je 0x4070bd
mov dword [ebp - 4], 0x15
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00404d10
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0x16
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00407190
jmp 0x4070ee
mov dword [ebp - 4], 0x1b
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00404d10
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0x1c
jmp 0x406d8d
wait
push 0x407168
jmp 0x407131
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x58]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0xec]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea edx, [ebp - 0x70]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
jmp 0x40132c
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3